Hi i want the video to not show on mobile but don’t understand what’s wrong with this code
@media screen and (min-width: 768px) { video { display: block; margin: 0 auto; width: 100%; height: 100%; } } @media screen and (max-width: 768px) { video { display: none; } }Hi there,
Try to use !important and the end of the CSS style, as below:
video {
display: none !important;
}
Cheers!
GO Immobilier, spécialiste en Digital Marketing Suisse.
Thank you so much!
You are welcome ![]()
How about the opposite? Displaying it on mobile but not desktop? Whats the code for that?