I'm currently in the process of building my first website using React. In my main.module.css
file, I have the following CSS reset:
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
This is just a typical CSS styling reset. However, when trying to use it with React, I receive the following error message:
Syntax error: Selector "*" is not pure (pure selectors must contain at least one local class or id)
Does anyone have a solution for this issue? I would like to maintain this styling reset without having to add those three lines to every single element on my page.