bbvillarreal / Codecademy

Codecademy Projects
0 stars 0 forks source link

CSS #3

Open Axkaban opened 6 years ago

Axkaban commented 6 years ago

Great use of global selector body https://github.com/bbvillarreal/Codecademy/blob/master/DasmotosStyle.css#L2 although if you are setting Aria as important no other font will work, and you have written Helvetica for no reason.

Since all elements share the same font-weight as well, it might better be in the body styles as well.

otherwise for elements with repeating styles you can group so you only declare it once, for example:

h1,
h3,
p {
font-weight: bold;
}

Also starting to use comments in your css file will be just as helpful as with html, it will keep order between which styles are defined for each section.