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
Post a Comment