css media responsive code example
Example 1: media queries
@media all and (max-width: 699px) and (min-width: 520px) {
ul li a {
padding-left: 21px;
background: url(../images/email.png) left center no-repeat;
}
}
Example 2: media query
@media (max-height : 800px){ /* from 0 to 800 px max height applies */
p{
font-size:10px
}
}