@media Only Screen And (min-width 768px) And (max-width 1024px) Code Example


Example 1: 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) {...}

Example 2: media query min max


@media screen and (min-width: 200px) and (max-width: 640px) {
.bloc {
display:block;
clear:both;
}
}

Example 3: @media screen and (min-width


@media (min-width: 1250px) { ... }

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 How Can I Convert A String To A Editable