Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
codedokode
· 2y ago · 0 comments
It is better to use BEM naming, so the example becomes
<button class="btn btn--warning">
Here double minus means that "warning" is a state of an element named "btn".
Comments
No comments yet.
Better HN