phone media query css
@media only screen and (max-width: 600px) {
body {
background-color: lightblue;
}
}
phone media query css
@media only screen and (max-width: 600px) {
body {
background-color: lightblue;
}
}
mobile tablet desktop media queries
Syntax:
@media( media feature ) {
// CSS Property
}
The screen resolutions of different devices are listed below:
Mobile (Smartphone) max-width: 480px
Low Resolution Tablets and ipads max-width: 767px
Tablets Ipads portrait mode max-width:1024px
Desktops max-width:1280px
Huge size (Larger screen) max-width: 1281px and greater
media query css for all devices
@media (min-width: 600px) and (max-width: 800px) {
/* your css code here */
/* html { background: red; } */
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us