Normalize css and reset Global

0

Is there any way to use Normalize css and at the same time give a global reset in style sheets? I use the reset like this in my css:

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

But even putting my file in the rel link later in the normalize css it fails to override. Is there any way to make this work along with normalize?

    
asked by anonymous 06.08.2017 / 22:50

1 answer

1

You can use !important so it does not use the css hierarchy.

The code will depend on how it was loaded (the inclusion sequence in HTML and by hierarchy).

If for example you load this code after all the other CSS you have on the page, it will overwrite what was previously, or if you want to prioritize something else, you can also place tags to leave the code more and more specific to the element and so it maintains the formatting you choose.

You can see more examples at this link:

link

    
24.08.2017 / 04:02