rickymills88 / 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! I would consider adding a group selector for any repeated styles in your CSS. For example, for the repeated styles on .brushes h2, .frames h2, .paint h2 you could use:

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

Then delete all instances of font-size: 32px;, font-weight: bold;, and color: white; from those individual selectors.

rickymills88 commented 6 years ago

Much more simple. Nice one!