I have a div element that I want to hide when the width of the browser is less than or equal to 1026px. Is this possible to do with the css: @media only scr
@media only scr
@media only screen and (max-width: 1026px) { #fadeshow1 { display: none; } }
Any time the screen is less than 1026 pixels wide, anything inside the { } will apply.
{ }
Some browsers don't support media queries. You can get round this using a javascript library like Respond.JS