Answers for "media queries"

CSS
109

css media queries

@media only screen and (max-width: 1200px){
    /*Tablets [601px -> 1200px]*/
}
@media only screen and (max-width: 600px){
	/*Big smartphones [426px -> 600px]*/
}
@media only screen and (max-width: 425px){
	/*Small smartphones [325px -> 425px]*/
}
Posted by: Guest on July-04-2020
47

media query

@media only screen and (max-width: 600px) {
  body {
    background-color: lightblue;
  }
}
Posted by: Guest on December-06-2019
-3

media queries

@media all and (max-width: 699px) and (min-width: 520px) {
   ul li a {
    padding-left: 21px;
    background: url(../images/email.png) left center no-repeat;
  }
}
Posted by: Guest on September-08-2020
-4

media queries

@media only screen and (max-width: 1200px){
    /*Tablets [601px -> 1200px]*/
}
@media only screen and (max-width: 600px){
	/*Big smartphones [426px -> 600px]*/
}
@media only screen and (max-width: 425px){
	/*Small smartphones [325px -> 425px]*/
}
/*Credit goes to Malario i saved this just in case.....
https://www.codegrepper.com/app/profile.php?id=43257
if it helped you should say thanks to him......
*/
Posted by: Guest on May-05-2021
0

media queries

@media screen and (max-width: 480px) { }
Posted by: Guest on August-05-2021
0

media queries

#sidebar ul li a {
  color: #900;
  text-decoration: none;
  padding: 3px 0; 
  display: block;
}

@media all and (min-width: 1001px) {
  #sidebar ul li a:after {
    content: " (" attr(data-email) ")";
    font-size: 11px;
    font-style: italic;
    color: #666;
  }
}

@media all and (max-width: 1000px) and (min-width: 700px) {
  #sidebar ul li a:before {
    content: "Email: ";
    font-style: italic;
    color: #666;
  }
}

@media all and (max-width: 699px) and (min-width: 520px), (min-width: 1151px) {
  #sidebar ul li a {
    padding-left: 21px;
    background: url(../images/email.png) left center no-repeat;
  }
}
Posted by: Guest on September-04-2021

Browse Popular Code Answers by Language