@AFranco-devSubmitted over 2 years ago
I fell my code is having to many lines, that I'm using too many div and that I'm making too many specific selections with CSS. Is what I have done average or should I make my code smaller?
I fell my code is having to many lines, that I'm using too many div and that I'm making too many specific selections with CSS. Is what I have done average or should I make my code smaller?
It appears you wanted to uniform certain attributes.... So instead typing them all out individually just use the "*" like so:
*{
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
Also something i do if i have a group that i want to behave the same such as where you typed out a bunch of tags and made them all "display: block;" Instead try giving them all the same class name. This way you wont have to type out each tag individually.
I hope this was helpful! Good job on this project by the way. It looks great!