Sunday, September 23, 2012

[CSS3] media query template for mobile friendly version

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width959px{
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width768pxand (max-width959px{
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width767px{
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width480pxand (max-width767px{
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width479px{
}

No comments:

Post a Comment