When i try to run my code, after adding normalise.css file, it keeps setting the margin to 0, even if i add 10px to margin in the body section inside the style.css file. How can i fix it? The only way to set 10px to margin is to change the property directly in normalise.css.
1 Like
Make sure that your stylesheet is listed after the normalize stylesheet so that your stylesheet’s rules take precedence per the cascade.
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/styles.css" />
I sort this out thanks