DavidRog / 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 in your CSS for any repeated styles. For example you could use:

.brushes, .frames, .paint {
  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 individual selectors.

Also, feel free to delete the font-weight: bold; style from your .price selector as the <strong> element is already using font-weight: bold; by default.

DavidRog commented 6 years ago

Wow, this is awesome feedback, Aubrey, thanks so much!