Giter Club home page Giter Club logo

Comments (7)

marblegravy avatar marblegravy commented on June 13, 2024

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.

objectivehtml avatar objectivehtml commented on June 13, 2024

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.

marblegravy avatar marblegravy commented on June 13, 2024

Confirmed - this is just a local testing issue. Works fine when deployed.

from flipclock.

marblegravy avatar marblegravy commented on June 13, 2024

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.

tjmapes avatar tjmapes commented on June 13, 2024

Please remove that prefix dependency, that would be amazing! :D

from flipclock.

marblegravy avatar marblegravy commented on June 13, 2024

@tjmapes, check out https://github.com/marblegravy/FlipClock or the pull request at #25

from flipclock.

tjmapes avatar tjmapes commented on June 13, 2024

@marblegravy thanks!

from flipclock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.