cod1cat / f1-3-c2p1-colmar-academy

0 stars 0 forks source link

Don't Repeat Yourself or the DRY method #7

Open tommygebru opened 5 years ago

tommygebru commented 5 years ago

Consider using the DRY method to apply css styles to the html elements once or fewer times, instead of having to write out font-family in your css document multiple times.

Don't repeat yourself for the following styles: background-color, width, and margin styles You can also stack your css selectors to group styles and apply them once 👍 for example:

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