Nelsoneer / DasmotosArtsCrafts

Codecademy Project - Unit 2 CSS
0 stars 0 forks source link

CSS a little repeative #1

Open farishkash opened 6 years ago

farishkash commented 6 years ago

font-size: 32px; font-weight: bold; color: white;

You are using these 3 lines a few times.

It would much more efficient to move this code to target the css h2 to element and then just keep the background color for each id. Your css refactored below.

h2 {
 font-size: 32px;
  font-weight: bold;
  color: white;
}

#brushes {
  background-color: mediumspringgreen;
}

#frames {
  background-color: lightcoral;
}

#paint {
  background-color: skyblue;
}