css - TranslateZ not working in Firefox (parallaxing images) -


i have page 5 or 6 parallaxing images aligned vertically.

to accomplish effect referenced this codepen.

.wrapper {   perspective: 2px; } .child::after {   transform: translatez(-1px) scale(1.5); } 

the above code not direct reference, vital attributes used accomplish parallaxing effect

the code works in google chrome , safari reason not in firefox. code same codepen; if try opening codepen in firefox can see yourself.

does know wrong? appreciated.


Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -