Home › Forums › CSS › CSS styling which way is better › Reply To: CSS styling which way is better
December 27, 2015 at 5:33 am
#236188
Ani minadze
Participant
thank for answer,
i hace many elements with white color, and i always do this thing
.myNewSelector > li > a { color: #fff; }
.myNewestSelector > span {color: #fff;}
.myOldSelector > div >a { color: #fff; }
is it correct?
i think if i create new selector like .color-white {color:#fff;} and add that in my html its will be good or not?