Like
.box8{background: red;}
vs
box1,.box2,.box3,.box4,.box5,.box6.,box7,.box8{background: red;}
So is matter? As calass is possible use more times? Or any logic for optional? Or better idea?
Thx!
Like
.box8{background: red;}
vs
box1,.box2,.box3,.box4,.box5,.box6.,box7,.box8{background: red;}
So is matter? As calass is possible use more times? Or any logic for optional? Or better idea?
Thx!
.box { background: red; }
will turn all box classes red no need to do a big line of separate names, if you need a different class name on each element to edit them separately you can add 2 classes to the element like so…
<div class="box box1"></div>
<div class="box box2"></div>
and they will all still be red because you have .box { background: red; }
Wah! And I think a lot list all and add for them another names but with 2 class!!! Amazing!