Anyway, there is not need to have all span under the Simple-Line-Icons font. It's enough to have font-family style only for icon (ie :before). Thus we could use outer font inside the span.
Two
It's would be nice if css names were: .icons-gameController, not .icons-game-controller. Cause of - is significant character in css, and used for some logic, not for words separator. It's a more right way IMO to use _ or camelCase, but not -.
[attr|=value]
Represents an element with an attribute name of attr. Its value can be exactly “value” or can begin with “value” immediately followed by “-” (U+002D). It can be used for language subcode matches.
One
This feature need css like:
Anyway, there is not need to have all
span
under theSimple-Line-Icons
font. It's enough to havefont-family
style only for icon (ie:before
). Thus we could use outer font inside thespan
.Two
It's would be nice if css names were:
.icons-gameController
, not.icons-game-controller
. Cause of-
is significant character in css, and used for some logic, not for words separator. It's a more right way IMO to use_
or camelCase, but not-
.https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors
Thanks for icons! It's amazing!