Media Only Screen And (max-width > Code Example


Example: media query min and max


/* Max-width */
@media only screen and (max-width: 600px) {...}

/* Min-width */
@media only screen and (min-width: 600px) {...}

/* Combining media query expressions */
@media only screen and (max-width: 600px) and (min-width: 400px) {...}

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android SDK Location Should Not Contain Whitespace, As This Cause Problems With NDK Tools