manmon / prj-rev-bwfs-tea-cozy

0 stars 0 forks source link

Don't Repeat Yourself or the DRY method #8

Open tommygebru opened 5 years ago

tommygebru commented 5 years ago

Very cool use of the DRY method you applied css styles to the html elements once or fewer times, instead of having to write out flexbox styles in your css document multiple times.

Don't repeat yourself for the following styles: background-colors and margin styles

You also stacked your css selectors to group styles and apply them once 👍 for example:

h1, h2, a {font-weight: bold}
tommygebru commented 5 years ago

Also check out this article on CSS reset, its an interesting look on getting started with a fresh start https://cssreset.com/what-is-a-css-reset/ and the stylesheet itself https://meyerweb.com/eric/tools/css/reset/index.html