juliaprather Posted November 10, 2022 Posted November 10, 2022 (edited) Hello out there! I've got rotating images that perform perfectly on desktop but glitch out on mobile before rotating. I really hope to figure out what's wrong so I can use rotating images now and in the future, but this glitch is a non-starter. URL is https://www.j2tampa.com/loan-options. Code pasted below. Help help! .design-layout-poster img{ transition: 1s} .design-layout-poster:hover img{transform: rotateX(180deg); transition: 1s} .image-card-wrapper{transform:rotateX(180deg)!important; opacity:0; transition: 1s;} .design-layout-poster:hover .image-card-wrapper {opacity:1!important; transform:rotateX(0deg)!important; background: #006787; transition: 1s;} Hmmm... I notice the glitch does not happen on Android mobile, only on my iPhone 14. This Wordpress site, which I did not make, uses the same concept—but these rotating images don't glitch on my iPhone. What are they doing that I'm not doing? https://bydesignlending.com/loan-options/ Edited November 11, 2022 by juliaprather updated info
tuanphan Posted November 13, 2022 Posted November 13, 2022 Which glitch? You can also try this code first, I added some prefix for Safari .design-layout-poster img{ -webkit-transition: 1s; -o-transition: 1s; transition: 1s} .design-layout-poster:hover img{-webkit-transform: rotateX(180deg);transform: rotateX(180deg); -webkit-transition: 1s; -o-transition: 1s; transition: 1s} .image-card-wrapper{-webkit-transform:rotateX(180deg)!important;transform:rotateX(180deg)!important; opacity:0; -webkit-transition: 1s; -o-transition: 1s; transition: 1s;} .design-layout-poster:hover .image-card-wrapper {opacity:1!important; -webkit-transform:rotateX(0deg)!important; transform:rotateX(0deg)!important; background: #006787; -webkit-transition: 1s; -o-transition: 1s; transition: 1s;} Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment