Answers for "how to add media query to div using css"

CSS
0

how to call media query inside css class

.myClass
{
    @media all (max-width: 1024px) {
        left: 33%;
    }
    @media all (min-width:1025px) {
        left: 25%;
    } 
}
Posted by: Guest on May-24-2021

Browse Popular Code Answers by Language