25 ms·
> but I feel that classes give more meaning to an element But they don't. Classes (and IDs) have nothing at all to do with semantics or meaning. You can use w
by csswizardry 15y ago
> but I feel that classes give more meaning to an element
But they don't. Classes (and IDs) have nothing at all to do with semantics or meaning.
You can use whichever notation you wish (.big, .small, .alpha, .giga etc), I state as much at the end of the article, just remember that classes do not add meaning to (or subtract meaning from) an element :)
H
- aniketpant 15y agoSo classes mean only one thing to us. They are used "just for styling". We use them only for our convenience and that's it. Pretty cool then :)