Skip to content

Commit 8a8e4c2

Browse files
author
Scott Hyndman
committed
Merge pull request google#216 from otomeskhy/master
Added CSS file for Icon Font.
2 parents 07c5918 + b5e975c commit 8a8e4c2

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

iconfont/material-icons.css

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
@font-face {
2+
font-family: 'Material Icons';
3+
font-style: normal;
4+
font-weight: 400;
5+
src: url(MaterialIcons-Regular.eot); /* For IE6-8 */
6+
src: local('Material Icons'),
7+
local('MaterialIcons-Regular'),
8+
url(MaterialIcons-Regular.woff2) format('woff2'),
9+
url(MaterialIcons-Regular.woff) format('woff'),
10+
url(MaterialIcons-Regular.ttf) format('truetype');
11+
}
12+
13+
.material-icons {
14+
font-family: 'Material Icons';
15+
font-weight: normal;
16+
font-style: normal;
17+
font-size: 24px; /* Preferred icon size */
18+
display: inline-block;
19+
width: 1em;
20+
height: 1em;
21+
line-height: 1;
22+
text-transform: none;
23+
letter-spacing: normal;
24+
word-wrap: normal;
25+
white-space: nowrap;
26+
direction: ltr;
27+
28+
/* Support for all WebKit browsers. */
29+
-webkit-font-smoothing: antialiased;
30+
/* Support for Safari and Chrome. */
31+
text-rendering: optimizeLegibility;
32+
33+
/* Support for Firefox. */
34+
-moz-osx-font-smoothing: grayscale;
35+
36+
/* Support for IE. */
37+
font-feature-settings: 'liga';
38+
}

0 commit comments

Comments
 (0)