bc-griffin / prj-rev-bwfs-dasmoto

0 stars 0 forks source link

Group selectors in CSS #4

Open aubreywullschleger opened 6 years ago

aubreywullschleger commented 6 years ago

Simplify! Consider using group selectors for any repeated styles in your CSS. For example you could use:

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

Then remove the font-family, font-size, font-weight, and color styles from the #brushes, #frames, and #paint selectors. This will help the CSS to be more concise!

bc-griffin commented 6 years ago

Class and ID Selectors had me a bit confused. Thank you for the clarification.