You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ryndel edited this page Dec 10, 2012
·
6 revisions
Step 1:
Put the following in the your main css.
[data-icon]:before { font-family: 'iconset'; content: attr(data-icon); speak: none; font-style: normal; font-weight: normal; -webkit-font-smoothing: antialiased; }
Alternately you can just include the common.css which includes the data-icon declaration. Link is here:
https://raw.github.com/commons/common.css/master/build/common.css
Step 2:
Put the following snippet in the main css.
@font-face {
font-family: @fontname;
src: url('@{fontpath}/@{fontname}/webfont.eot');
src: url('@{fontpath}/@{fontname}/webfont.eot?#iefix') format('embedded-opentype'),
url('@{fontpath}/@{fontname}/webfont.woff') format('woff'),
url('@{fontpath}/@{fontname}/webfont.ttf') format('truetype'),
url('@{fontpath}/@{fontname}/webfont.svg#@{fontname}') format('svg');
font-weight: normal;
font-style: normal;
}