w3schools min width and max width media query code example
Example: media query
@media (max-height : 800px){ /* from 0 to 800 px max height applies */
p{
font-size:10px
}
}
@media (max-height : 800px){ /* from 0 to 800 px max height applies */
p{
font-size:10px
}
}