Material Design lite fonts and icons -


how can use material fonts , icons locally, because have not access internet reference through http. can me?

according guide can download icons svg , png, download icon fonts themselves , implementing them so:

@font-face {   font-family: 'material icons';   font-style: normal;   font-weight: 400;   src: url(mylocalfontdir/materialicons-regular.eot); /* ie6-8 */   src: local('material icons'),        local('materialicons-regular'),        url(mylocalfontdir/materialicons-regular.woff2) format('woff2'),        url(mylocalfontdir/materialicons-regular.woff) format('woff'),        url(mylocalfontdir/materialicons-regular.ttf) format('truetype'); } 

the can use them without internet connection:

<i class="material-icons">face</i> 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -