[Improvement] stylelint (#1280)

This commit is contained in:
neverland
2018-06-13 20:36:36 +08:00
committed by GitHub
parent 90bbfd2b12
commit 00351a564f
33 changed files with 905 additions and 174 deletions
+3 -2
View File
@@ -31,12 +31,13 @@
font-family: PingFang SC, Helvetica Neue, Arial, sans-serif;
}
&:before {
&::before {
display: inline-block;
}
}
<% _.each(glyphs, function(glyph) { %>.van-icon-<%= glyph.fileName %>:before {
<% _.each(glyphs, function(glyph) { %>.van-icon-<%= glyph.fileName %>::before {
content: "\<%= glyph.codePoint %>";
}
<% }); %>