Which of the following media features can be used in defining a media query? code example
Example 1: print media query css
@media print {
/* All your print styles go here */
#header, #footer, #nav { display: none !important; }
}
Example 2: media query in html style
span { background-image: url(particular_ad.png); }
@media (max-width: 300px) {
span { background-image: url(particular_ad_small.png); }
}