DonnaSawkins / prj-rev-bwfs-dasmoto

0 stars 0 forks source link

Using group selectors #4

Open aubreywullschleger opened 7 years ago

aubreywullschleger commented 7 years ago

Simplify! Make sure you are using consistent indentation in your CSS. I would also consider using a group selector for any repeated styles in your CSS. For example you could use:

#brushes h2, #frames h2, #paint h2 {
  font-family: Helvetica;
  font-size: 32px;
  font-weight: bold;
  color: white;
}

then delete all other instances of font-family: Helvetica;, font-size: 32px;, font-weight: bold;, and color: white; on those same selectors.

https://github.com/DonnaSawkins/prj-rev-bwfs-dasmoto/blob/master/Dasmotos%20Arts%20%26%20Crafts/Resources/css/styles.css#L14-L36