Paulo Dandrea• 80
@Paulo-Dandrea
Posted
Congratulations for the solution.
I've noticed that you're using the indentation to nest things, right? They do not use this way in the industry.
- You could use commentary to separate the concerns (there's a VSCODE extension called 'Comment Headers').
- You could use Prettier(another extension) to indent and standardize your css.
- Try learning SASS for your nesting intention :D
- What do you think of using
box-sizing:border-box
for your reset as well? It is a more intuitive way to layout things.
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
0