Un-fixing Fixed Elements with CSS Transforms

In Chrome version 41, DIV element with fixed position had additional offset – offset that shouldn’t appear. After googling for a while, I have found the the cause of such behaviour – CSS transform style on parent container. Disabling transform style has fixed the problem.

Just had an issue with position: fixed and parent container with “transform” styles. Fixed DIV element had some strange offset that shouldn’t be there.

The problem was solved by adding additional “notransform” class to the parent container.

Categories Web

Leave a Comment