Answers for "@media all and (max-width: 430px) for phone"

CSS
1

css different sreen size

/* For Mobile */
@media screen and (max-width: 540px) {
    .view {
        width: 400px;
    }
}

/* For Tablets */
@media screen and (min-width: 540px) and (max-width: 780px) {
    .view {
        width: 600px;
    }
}
Posted by: Guest on August-07-2020

Code answers related to "@media all and (max-width: 430px) for phone"

Browse Popular Code Answers by Language