zoukankan      html  css  js  c++  java
  • CSS3字体图标

    网址:
    http://icomoon.io/
    http://iconfont.cn/  阿里巴巴字体库

     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>
  • 相关阅读:
    方法重载
    构造方法:(特殊方法,用来创建对象 没写就会默认有构造方法)
    java:第十二章
    java:第九章
    java:第十四章
    java:第十五章
    java:第十一章
    I/O小结
    java:第八章
    java:第六章
  • 原文地址:https://www.cnblogs.com/ahwu/p/3696873.html
Copyright © 2011-2022 走看看