Answers for "viewport css"

6

invert css

.image {
filter: invert(1);
 }
Posted by: Guest on August-27-2020
13

HTML Viewport

<meta name="viewport" content="width=device-width, initial-scale=1.0">
Posted by: Guest on October-29-2019
1

viewport

<meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="A page's description, usually one or two sentences." />
    <meta name="keywords" content="banana, banana facts" />
Posted by: Guest on June-25-2021
3

viewport meta tag

<meta name="viewport" content="width=device-width, initial-scale=1">
Posted by: Guest on February-08-2020
0

device-width

body {
  background: white;    
}
 
@media screen and (min-width: 980px) /* Desktop */ {
  body {
    background: red;
  }
}
 
@media screen  and (max-width: 979px) /* Tablet */ {
  body {
    background: blue;
  }
}
 
@media screen and (max-width: 500px) /* Mobile */ {
  body {
    background: green;
  }
}
Posted by: Guest on August-25-2020
3

css viewport

<meta name="viewport" content="width=device-width, initial-scale=0.9, user-scalable=no">
Posted by: Guest on November-24-2020

Browse Popular Code Answers by Language