Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

responsive css

/* Smartphones (portrait) */
@media only screen and (max-width: 320px) {
  /* Styles */
}

/* iPads (portrait and landscape)  */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  /* Styles */
}

/* Desktops and laptops  */
@media only screen and (min-width: 1224px) {
  /* Styles */
}
 
PREVIOUS NEXT
Tagged: #responsive #css
ADD COMMENT
Topic
Name
9+5 =