CSS3字体图标

2020-11-15 05:21

阅读:861

标签:android   com   http   blog   style   class   div   img   code   java   size   

网址:http://icomoon.io/

bubuko.com,布布扣
 1 DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 2 html xmlns="http://www.w3.org/1999/xhtml">
 3 head>
 4 meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 5 title>无标题文档title>
 6 style type="text/css">
 7 @font-face {
 8 font-family: ‘xiaoqiang‘;
 9  src: url(‘fonts/icomoon.eot‘); /* IE9*/
10  src: url(‘fonts/icomoon.eot?#iefix‘) format(‘embedded-opentype‘), /* IE6-IE8 */
11 url(‘fonts/icomoon.woff‘) format(‘woff‘), /* chrome、firefox */
12  url(‘fonts/icomoon.ttf‘) format(‘truetype‘), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
13 url(‘fonts/icomoon.svg#uxiconfont‘) format(‘svg‘); /* iOS 4.1- */
14 }
15 div{ font-family:‘xiaoqiang‘; font-size:50px; color:red;}
16 style>
17 head>
18 
19 body>
20 div>div>
21 div>div>
22 body>
23 html>
bubuko.com,布布扣

 

CSS3字体图标,布布扣,bubuko.com

CSS3字体图标

标签:android   com   http   blog   style   class   div   img   code   java   size   

原文地址:http://www.cnblogs.com/ahwu/p/3696873.html


评论


亲,登录后才可以留言!