Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

what is a max and min width media query

/* What this query really means, is If [device width] is less than or equal to 600px, then do */
@media only screen and (max-width: 600px)  {...}

/* What this query really means, is If [device width] is greater than or equal to 600px, then do */
@media only screen and (min-width: 600px) {...}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #max #min #width #media #query
ADD COMMENT
Topic
Name
2+2 =