T(caps)he website can now be used on both mobiles and computers .css media query can be used on both computers and mobiles.This code can be used to convert different screen sizes on computers and mobiles.
Media query CSS for all devices with example |
@media screen and (max-width:319px) {
}
@media screen and (min-width:320px) and (max-width:479px) {
}
@media screen and (min-width:480px) and (max-width:767px) {
}
@media screen and (min-width:768px) and (max-width:1023px) {
}
@media screen and (min-width:1024px) {
}
(code-box)