This week, I decided to try out the latest version of Font Awesome - version 4.0. After updating, a couple of questions popped up in my mind:
Since I have been using the mixin in previous versions and had just updated the name, I wonder if this is acceptable and legal considering all the name changes that I have noticed?
@mixin fa-FontAwesome() { font-family: FontAwesome; font-weight: normal; font-style: normal; text-decoration: inherit; -webkit-font-smoothing: antialiased; *margin-right: .3em; // fixes ie7 issues }
I am still new to SCSS and Font Awesome, so can someone elaborate on the current syntax being used? Any information would be greatly appreciated.
For instance,
.#{$fa-css-prefix}
incorporates a number sign and curly brackets within a class name. I am curious about the reasoning behind this approach.