could we add media queries withing a css class code example
Example: how to call media query inside css class
.myClass
{
@media all (max-width: 1024px) {
left: 33%;
}
@media all (min-width:1025px) {
left: 25%;
}
}
.myClass
{
@media all (max-width: 1024px) {
left: 33%;
}
@media all (min-width:1025px) {
left: 25%;
}
}