Skip to content

Instantly share code, notes, and snippets.

@yisibl
Created December 19, 2013 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yisibl/8038656 to your computer and use it in GitHub Desktop.
Save yisibl/8038656 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.10)
// ----
/* 注释怎么换行,而且保持SCSS中的缩进? */
@font-face {
font: {
family: icon;
weight: normal;
style: normal;
}
src: url("{icon-src}.eot"); /* IE9 */
src:
url("{font-src}.eot?#iefix") format("embedded-opentype"),
url("{font-src}.woff") format("woff"),
url("{font-src}.ttf") format("truetype"),
url("{font-src}.svg##{font-family}") format("svg"); /* iOS 4.1- */
}
%s{
speak: none;/* 1 */
-webkit-font-smoothing: antialiased; /* 2 */
-moz-osx-font-smoothing: grayscale; /* 3 */
}
.iconfont{
@extend %s;
}
@charset "UTF-8";
/* 注释怎么换行,而且保持SCSS中的缩进? */
@font-face {
font-family: icon;
font-weight: normal;
font-style: normal;
src: url("{icon-src}.eot");
/* IE9 */
src: url("{font-src}.eot?#iefix") format("embedded-opentype"), url("{font-src}.woff") format("woff"), url("{font-src}.ttf") format("truetype"), url("{font-src}.svg#font-family") format("svg");
/* iOS 4.1- */
}
.iconfont {
speak: none;
/* 1 */
-webkit-font-smoothing: antialiased;
/* 2 */
-moz-osx-font-smoothing: grayscale;
/* 3 */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment