Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

media query in css

/* So me write a media query like this */
@media screen and (min-width:746px){
  /* here we will add the stles we want
  for the screen with min -width of 746 px*/
}
/* we can also use something like*/
@media print and (min-width:1024px){
}
/* Here print is for what we will see if we print whats on the screen*/
Source by alistapart.com #
 
PREVIOUS NEXT
Tagged: #media #query #css
ADD COMMENT
Topic
Name
2+6 =