JJF Posted August 26, 2020 Share Posted August 26, 2020 Site URL: https://www.jjflax.com/things/animations Hi. I have a page dedicated to short animations on my website. I embedded all of the animations from YouTube so that they automatically play, but in a mobile view this leaves them all awkwardly cropped. Is there a way to inset them only for mobile, and delete the embedded version for mobile as well? Or does anyone have an alternate solution/idea? Thank you! Link to comment
tuanphan Posted August 28, 2020 Share Posted August 28, 2020 Edit page > Add Code Block > Paste this code <style> @media screen and (max-width:767px) { #page section:first-child { min-height: unset !important; height: 30vh; } } </style> 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!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.