Guest Posted July 2, 2022 Posted July 2, 2022 /* #14 - Magnification effect on the poster */ .cardBox{transition:all 0.1s;} .cardBox:hover {transform:scale(1.075);transition:all 0.1s;} Hi, I have this code that displays a magnification effect on posters on hover, however, I prefer the effect to be valid only on the homepage and not on the details screen. Thank you for that.
Solution Happy2Play 9780 Posted July 2, 2022 Solution Posted July 2, 2022 20 minutes ago, CarlosLima said: /* #14 - Magnification effect on the poster */ .cardBox{transition:all 0.1s;} .cardBox:hover {transform:scale(1.075);transition:all 0.1s;} Hi, I have this code that displays a magnification effect on posters on hover, however, I prefer the effect to be valid only on the homepage and not on the details screen. Thank you for that. Like this /* #14 - Magnification effect on the poster */ [data-type="home"] .cardBox{transition:all 0.1s;} [data-type="home"] .cardBox:hover {transform:scale(1.075);transition:all 0.1s;} 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now