We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 562e369 commit ce98bafCopy full SHA for ce98baf
css/README.md
@@ -0,0 +1,29 @@
1
+# CSS Snippets
2
+
3
+## Font
4
5
+### [cssff] @font-face
6
7
+```css
8
+@font-face {
9
+ font-family: "$1";
10
+ src:url("$2.eot");
11
+ src:url("$2.eot?#iefix") format('embedded-opentype'),
12
+ url("$2.woff2") format('woff2'),
13
+ url("$2.woff") format('woff'),
14
+ url("$2.ttf") format('truetype'),
15
+ url("$2.svg#$1") format('svg');
16
+ font-weight: ${3:400};
17
+ font-style: normal;
18
+ font-variant: normal;
19
+ -webkit-font-smoothing: antialiased;
20
+}
21
22
+@media screen and (-webkit-min-device-pixel-ratio:0){
23
+ @font-face {
24
25
+ src: url("$2.svg#$1") format('svg');
26
27
+ }
28
29
+```
0 commit comments