{"id":12618,"date":"2022-09-13T12:08:07","date_gmt":"2022-09-13T16:08:07","guid":{"rendered":"http:\/\/local.brightwhiz\/?post_type=snippets&p=12618"},"modified":"2022-09-13T12:08:10","modified_gmt":"2022-09-13T16:08:10","slug":"css-media-query-max-and-min-width-code","status":"publish","type":"snippets","link":"http:\/\/local.brightwhiz\/snippets\/css-media-query-max-and-min-width-code\/","title":{"rendered":"CSS Media Query Max And Min Width Code"},"content":{"rendered":"\n
CSS media query max and min width code example snippets.<\/p>\n\n\n\n
\/* Max-width *\/\n@media only screen and (max-width: 980px) {...}\n\n\/* Min-width *\/\n@media only screen and (min-width: 576px) {...}\n\n\/* Combining media query expressions *\/\n@media only screen and (max-width: 980px) and (min-width: 576px) {...}\n\n\/* Example *\/\n@media only screen and (max-width: 980px) and (min-width: 576px) {\n .container {\n display:block;\n margin:20px;\n }\n}<\/code><\/pre>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","meta":[],"categories":[953,23,27,15,16],"tags":[170,189,303,471,635,638],"yoast_head":"\nCSS Media Query Max And Min Width Code [Snippet]<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n