@media only screen and (max-width: 600px) {
...your css here and you're good to go!
}
@media screen and (min-width:700px) {
} //this means the above media queriy will apply if the screen has a minimum screen width
//of 700px., meaning screens with screen sizes of 700px and above will be affected by the above media query
@media screen and (min-width: 400px) {...}
@media screen and (min-width: 600px) {...}
@media screen and (min-width: 1000px) {...}
@media screen and (min-width: 1400px) {...}
/* Default media */
body {
background: #ddd;
}
/* Media for larger devices */
@media screen and (min-width: 800px) {
body {
background-image: url("bg.png") 50% 50% no-repeat;
}
}
Code Example |
---|
Css :: color tr first row css |
Css :: scss darken color |
Css :: how to change the select arrow in css |
Css :: css select parent |
Css :: media queries and or conditions |
Css :: make text available only to screen reader |
Css :: repeating gradient |
Css :: animation-direction in css |
Css :: css multiple selectors |
Css :: body{text-align: center;} |
Css :: override vuetify container width |
Css :: css two classes together |
Css :: css text color |
Css :: css font style |
Css :: cta button css |
Css :: css grid example |
Css :: css counter |
Css :: css 16 9 ratio |
Css :: css padding property |
Css :: skeumorphism box shadow |
Css :: circle as a pseudo element |
Css :: how to set initial state after first time in formik |
Css :: css class for table |
Css :: css font leading |
Css :: html css text between Horizontal line |
Css :: clip path css |
Css :: place items |
Css :: css cursor pointer |
Css :: min function css |
Css :: css colors |