Git Product home page Git Product logo

Comments (8)

una avatar una commented on August 16, 2024

Hmm intersting! Let me know if you've created that fiddle -- @desandro do you know what might cause this?

from cssgram.

desandro avatar desandro commented on August 16, 2024

Sounds like a compositing issue with the browser. If you have a reduced test case demonstrating that issue, we may be able to whittle it down to which property is causing the issue, then take it up with Chrome Bugs.

from cssgram.

mxmzb avatar mxmzb commented on August 16, 2024

Here is a jsfiddle: https://jsfiddle.net/thelamborghinistory/1mLxk41s/ (sorry it took so long, I forgot about that I wanted to do that!).

If you flip the card without a filter applied, it works like a charm. If you add a filter to it you will start seeing a flickering while the card flips around, which is the issue I have found with it (sometimes it happens to me that the front page would go plain white after flipping back, too). Another thing I noticed is, that it's only flickering you use the overflow: hidden; stuff as well to get the rounded corners (comment it out and it works pretty fantastic). I really have doubts about this being fixable with CSS.

from cssgram.

goldins avatar goldins commented on August 16, 2024

The flickering seems like a z-index issue. Try adding z-index values so they're not on the same plane. Also, try using 3d transformations as they usually perform better due to hardware acceleration.

from cssgram.

DeMuu avatar DeMuu commented on August 16, 2024

Hi,

I just played around a bit with this issue and discovered that changing the position attribute actually fixes the flickering. 😄

Changing the #card figure element's position: absolute to position: fixed is all it takes. Testing the result in the fiddle didn't bring up any other issues caused by this change but if I missed anything here please tell me 👍

Here's the forked fiddle: https://jsfiddle.net/DeMuu/zv8cjrc2/2/

from cssgram.

una avatar una commented on August 16, 2024

Interesting... I wonder if this is a browser bug. Did you test on any other systems?

from cssgram.

DeMuu avatar DeMuu commented on August 16, 2024

I tested it with Firefox and Safari as well (macOS). Firefox seems to have a rendering issue cause there's a bit of flickering even without any filters. Safari has a problem with an iframe property jsFiddle is using so it doesn't work.

from cssgram.

una avatar una commented on August 16, 2024

Closing since this seems to be a browser-level issue

from cssgram.

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.