css media quieries code example
Example 1: media queries les plus utilisees
@media screen and (max-width: 1280px)
@media all and (min-width: 1024px) and (max-width: 1280px)
@media tv
@media all and (orientation: portrait)
Example 2: media query min max
@media screen and (min-width: 200px) and (max-width: 640px) {
.bloc {
display:block;
clear:both;
}
}
Example 3: media query in html style
span { background-image: url(particular_ad.png); }
@media (max-width: 300px) {
span { background-image: url(particular_ad_small.png); }
}