itstomdesign / colmaracademy

0 stars 0 forks source link

Don't Repeat Yourself or the DRY method #9

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 twice, instead of having to write out font-family in your css document multiple times.

Don't repeat yourself for the following styles: width and display styles I believe that elements unless otherwise specified have a default width of 100%

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

h1, h2, a {font-weight: bold}