<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>字体设置</title> <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0"> <meta name="apple-moible-web-app-capable" content="yes"> <meta name="apple-moible-web-app-status-bar-style" content="black"> <meta name="author" content="Geovin Du 涂聚文"> <style> @font-face { font-family: 'fontello'; src: url('http://www.dusystem.com/webfont/fonts/3pdwg6wqe1jpcgh.eot'); /*IE 9 Compat Modes*/ src: url('http://www.dusystem.com/webfont/fonts/3pdwg6wqe1jpcgh.eot#iefix') format('embedded-opentype'), /*IE6-IE8 */ url('http://www.dusystem.com/webfont/fonts/3pdwg6wqe1jpcgh.woff') format('woff'), /*Modern Brosers*/ url('http://www.dusystem.com/webfont/fonts/3pdwg6wqe1jpcgh.ttf') format('truetype'), /*Safari,Android,iOS */ url('http://www.dusystem.com/webfont/fonts/3pdwg6wqe1jpcgh.svg#fontello') format('svg'); /*Legacy iOS */ font-weight: normal; font-style: normal; } .demo-icon { font-family: "fontello"; /*字体名*/ font-style: normal; /*字体样式*/ display: inline-block; /*行内块元素*/ font-size: 42px; /*字体大小*/ margin-right: 5px; /*元素的右外边距*/ } </style> </head> <body> <i class="demo-icon icon-glass">geovindu</i> <i class="demo-icon icon-music">du</i> <i class="demo-icon icon-search">geovin</i> <i class="demo-icon icon-mail">涂聚文</i> </body> </html>
内容来源于网络如有侵权请私信删除
文章来源: 博客园
- 还没有人评论,欢迎说说您的想法!