I am trying to use CSS3 media queries to create a class that only appears when the width is greater than 400 pixels and less than 900 pixels. I know that this is probably very simple, and I am missing something obvious, but I can not understand it. What I came up with is the code below, appreciate any help.
@media (max-width:400px) and (min-width:900px) { .class { display: none; } }
css media-queries
russellsayshi Dec 23 '12 at 5:13 2012-12-23 05:13
source share