by aniketpant · 14y ago · 0 comments
I understand that they take the meaning away from standard elements but I feel that classes give more meaning to an element.
p.small and p.big are all the way more logical than styling them according to the container that encloses them.
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
Pretty cool then :)