If the particular font is not available on clients or end users machines then no need to load that font through the JS now we can include that font from css.
code:
@font-face {
font-family: 'ChunkFive Regular';
src: url('fonts/Chunkfive.eot');
src: local('ChunkFive Regular'), local('ChunkFive'), url('fonts/Chunkfive.woff')
format('woff'), url('fonts/Chunkfive.svg#ChunkFive') format('svg'),
url('fonts/Chunkfive.otf') format('opentype');
}
No comments:
Post a Comment