css – media query not working (code included)

I’m stuck with this css3 media query. I’m trying to create a media query that will apply styling to screen sizes up to a maximum width of 768px. I want to use the principle of #container style inside the media query and set the width to 90. Also use the h1 style principle in the media query and set the font size to 200%. I haven’t used media questions before and my source books only touch on them. It’s my attempt to make a mistake:

    @media screen and (max-width:768px;){
    #container{width:90%;}
    h1{font-size:200%;}
    }

I don’t have any references to base it on, so I’m a little stuck on what else to try 🙁

Add a Comment

Your email address will not be published. Required fields are marked *