Comments (7)
This appears to come down to a difference in the way that Chrome handles animation/transform. Stopping the clock causes the problem to go away and the right time be shown without the shading over the top. The class that is making the shadow appear is .play and it controls the animation.
Ah - I suspect I've found the issue. http://leaverou.github.io/prefixfree/#local-xhr
Locally prefix free won't fix the styles in Chrome, which is why they're broken. Let me upload this somewhere and check that this is actually the issue...
from flipclock.
It works fine on my local end, but I use a MAMP web server so that is why it likely works for me.
Feel free to remve the dependency on prefixfree.js. That example CSS I used for the flip animation required it and I haven't take the time to remove the dependency. To be honest, I would rather prefix the CSS to remove this dependency but CSS animations are bit out of my expertise and just haven't spend enough time with it to get it fixed.
from flipclock.
Confirmed - this is just a local testing issue. Works fine when deployed.
from flipclock.
I'm actually planning on making a responsive version of this which will need a bunch of style changes anyway. I might remove the dependency on prefix free at the same time.
from flipclock.
Please remove that prefix dependency, that would be amazing! :D
from flipclock.
@tjmapes, check out https://github.com/marblegravy/FlipClock or the pull request at #25
from flipclock.
@marblegravy thanks!
from flipclock.
Related Issues (20)
- Default negative values support confuse people HOT 1
- JS6 - minute face - seconds issue
- Project status? HOT 9
- flipclockjs.com is down HOT 2
- Creating a
- How to properly destroy a running flipclock instance? HOT 2
- Can't get it to work?
- please change documentation link to http://web.archive.org/web/20191208040027/http://flipclockjs.com/ HOT 4
- Reset on Zero
- False Translation Alias for italian HOT 1
- Docs website is down http://flipclockjs.com/ HOT 1
- ES6 docs?
- When the countdown ends, it doesn't stop HOT 2
- Bump marked from 1.1.1 to 2.0.0 security issue is raised
- stopAt attribute does not work for countdowns HOT 2
- HourCounter face does not work for countdowns
- when I am refreshing the page it gets reset and start the timer from the beginning what I do please tell me what I add extra in this code.
- Flip Clock just disappeared from the page
- Clock
- Countdown page reload does not work properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flipclock.