css - Why isn't this media query working? -
i trying trigger smaller image pages on website when viewed on smaller screen/device. i've written page(s) , isn't working. either applies pages, unintentionally or not @ all.
@media screen , (min-width : 240px) , (max-width : 667px) { .page-id-59, img { height: 80%; width: 80%; } }
also what's best way this? should load small size of image or download large size , scale screen? not sure best thing is.
the page-id in query identify specific page isn't doing that.
thanks
.page-id-59, img {
you saying "all items class 'page-id-59' or items tag img
"
you should remove comma
Comments
Post a Comment