Return to Snippet

Revision: 69896
at October 3, 2015 03:01 by heathbo

Initial Code
body {
    background-color: lightblue;

@media screen and (min-width: 480px) {
    body {
        background-color: lightgreen;

Initial URL

Initial Description
This is code you put in a CSS file.  It queries the size of the screen using the parameters passed in.  If its true, it then applies the CSS

Initial Title
CSS: Media Query

Initial Tags
css, query

Initial Language