Jump to content
Glenk3mp

Normalize / @media

Recommended Posts

Hi. New to coding. When I have my normalize CSS document linked up in my html index my media queries won't work on my CSS?! Does anyone know why this is? Thanks a lot.

(Just added the normalize CSS again and it works...?!)

Edited by Glenk3mp

Share this post


Link to post
Share on other sites

Order is important! What order did you use it? remember styles in stylesheet will normally override styles in previous stylesheets.

  • Thanks 1

Share this post


Link to post
Share on other sites

I have:

<meta charset="UTF-8">

           <meta name="viewport" content="width=device-width, initial-scale=1.0">

           <meta http-equiv="X-UA-Compatible" content="ie-edge">

           <link rel="stylesheet" href="normalize.css">

           <link rel="stylesheet" href="styles.css">

Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×