Removing the Layout Indicators
During top-down design, it makes sense to signal the boundaries of layout items with borders. Backgrounds may help too. Once the layout of your document is defined, remove these helpers.
We'll cover the following...
Removing the border
Wherever you see a border: 1px solid black;
rule, remove it. We won’t need these borders anymore, as our page is well defined and the layout does not need to be changed.
Introducing CSS variables
CSS variables help us define a consistent palette for our application. Create descriptive names for your variables, and use them everywhere in your CSS. ...