I think I miss something because when the window is smaller than 800 the #header is still hidden so I think I need to add an ‘else’ condition or something.
And also how can I add a bunch of css code only when the windows is bigger than 800 or it’s better to use css media queries ?
I know it’s better with media queries but the problem is that I want to display the #header only when a button is clicked only when the browser width is greater than 800px because I do not want to alter the css properties for mobile devices
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".