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

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -