-
Notifications
You must be signed in to change notification settings - Fork 863
Simplify _icon.scss a bit? #143
Comments
As you've said, this is how Foundation does it. See Zurb's integration guide. |
@imsadhappy : Will your code above work? I am always in favor of simplification. So if we can replace many lines with few lines, and get the same result (in all browsers), why not? Feel free to open a pull request :) |
@olefredrik : Well, I've tested it in Crome DevTools live on Foundation Icon Fonts 3. The specification on w3school for this is quite clear. The support is down to IE7. Everything looks safe and good to me. |
@olefredrik : Submitted the same at zurb/foundation-icon-fonts. Let's see what they have to say about it. So not to make FoundationPress differ much from its source. |
Great 👍 Let's wait and see what they say about it. I'm keeping this issue open for now. |
I decided to replace the Zurb Icon Fonts library with Font Awesome. The latter is in my opinion a better choice, as it has a larger selection of fonts, bigger community and is updated on a regular basis. |
Totally support you. This is by far, the best choice you could make. Font Awesome is the best icon font I've seen out there. It is constantly updated, with more and more new glyphs added. Great choice! |
+1 |
Hi. There is a question I have concerning _icons.scss.
Why not use CSS
[attribute^=value]
selector, rather than enumerate all the.fi-[icon]:before
(from line 18 to line 310)? Surely, this is how Foundation does it, but can it be more efficient?Like this:
The text was updated successfully, but these errors were encountered: