Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify _foundation-icons.scss? #17

Open
imsadhappy opened this issue Nov 7, 2014 · 0 comments
Open

Simplify _foundation-icons.scss? #17

imsadhappy opened this issue Nov 7, 2014 · 0 comments

Comments

@imsadhappy
Copy link

Hi. A question concerning _foundation-icons.scss.

Why not use CSS [attribute^=value] selector, rather than enumerate all the .fi-[icon]:before (from line 20 to line 302)? The specification on w3school for this is quite clear. The support is down to IE7.

Like this:

[class^="fi-"]:before {
font-family: "foundation-icons";
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
display: inline-block;
text-decoration: inherit;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant