Rename close icon class to btn-close
Created by: alecpl
Imo:
-
close
name is very generic, but adds a lot of styling and interferes with any use of such word for other purposes. Example: For buttons with icons I often usebtn btn-secondary <icon-name>
, If my icon is namedclose
the button will get a lot of unwanted styles. - Close icon's use-case is generally a button, so why not
btn btn-close
?