|
@@ -3,8 +3,8 @@
|
3
|
3
|
<head>
|
4
|
4
|
<meta charset="utf-8"/>
|
5
|
5
|
<title>iconfont Demo</title>
|
6
|
|
- <link rel="shortcut icon" href="//img.alicdn.com/imgextra/i2/O1CN01ZyAlrn1MwaMhqz36G_!!6000000001499-73-tps-64-64.ico" type="image/x-icon"/>
|
7
|
|
- <link rel="icon" type="image/svg+xml" href="//img.alicdn.com/imgextra/i4/O1CN01EYTRnJ297D6vehehJ_!!6000000008020-55-tps-64-64.svg"/>
|
|
6
|
+ <link rel="shortcut icon" href="//img.alicdn.com/imgextra/i4/O1CN01Z5paLz1O0zuCC7osS_!!6000000001644-55-tps-83-82.svg" type="image/x-icon"/>
|
|
7
|
+ <link rel="icon" type="image/svg+xml" href="//img.alicdn.com/imgextra/i4/O1CN01Z5paLz1O0zuCC7osS_!!6000000001644-55-tps-83-82.svg"/>
|
8
|
8
|
<link rel="stylesheet" href="https://g.alicdn.com/thx/cube/1.3.2/cube.min.css">
|
9
|
9
|
<link rel="stylesheet" href="demo.css">
|
10
|
10
|
<link rel="stylesheet" href="iconfont.css">
|
|
@@ -55,6 +55,18 @@
|
55
|
55
|
<ul class="icon_lists dib-box">
|
56
|
56
|
|
57
|
57
|
<li class="dib">
|
|
58
|
+ <span class="icon icon_transport"></span>
|
|
59
|
+ <div class="name">单箭头,长箭头,右</div>
|
|
60
|
+ <div class="code-name">&#xea66;</div>
|
|
61
|
+ </li>
|
|
62
|
+
|
|
63
|
+ <li class="dib">
|
|
64
|
+ <span class="icon icon_transport"></span>
|
|
65
|
+ <div class="name">急</div>
|
|
66
|
+ <div class="code-name">&#xe6b6;</div>
|
|
67
|
+ </li>
|
|
68
|
+
|
|
69
|
+ <li class="dib">
|
58
|
70
|
<span class="icon icon_transport"></span>
|
59
|
71
|
<div class="name">B端数字2</div>
|
60
|
72
|
<div class="code-name">&#xe624;</div>
|
|
@@ -654,9 +666,10 @@
|
654
|
666
|
<pre><code class="language-css"
|
655
|
667
|
>@font-face {
|
656
|
668
|
font-family: 'icon_transport';
|
657
|
|
- src: url('iconfont.woff2?t=1619776255105') format('woff2'),
|
658
|
|
- url('iconfont.woff?t=1619776255105') format('woff'),
|
659
|
|
- url('iconfont.ttf?t=1619776255105') format('truetype');
|
|
669
|
+ src: url('iconfont.woff2?t=1661333576251') format('woff2'),
|
|
670
|
+ url('iconfont.woff?t=1661333576251') format('woff'),
|
|
671
|
+ url('iconfont.ttf?t=1661333576251') format('truetype'),
|
|
672
|
+ url('iconfont.svg?t=1661333576251#icon_transport') format('svg');
|
660
|
673
|
}
|
661
|
674
|
</code></pre>
|
662
|
675
|
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
|
|
@@ -683,6 +696,24 @@
|
683
|
696
|
<ul class="icon_lists dib-box">
|
684
|
697
|
|
685
|
698
|
<li class="dib">
|
|
699
|
+ <span class="icon icon_transport transport-arrow-right-full"></span>
|
|
700
|
+ <div class="name">
|
|
701
|
+ 单箭头,长箭头,右
|
|
702
|
+ </div>
|
|
703
|
+ <div class="code-name">.transport-arrow-right-full
|
|
704
|
+ </div>
|
|
705
|
+ </li>
|
|
706
|
+
|
|
707
|
+ <li class="dib">
|
|
708
|
+ <span class="icon icon_transport transport-zu1468"></span>
|
|
709
|
+ <div class="name">
|
|
710
|
+ 急
|
|
711
|
+ </div>
|
|
712
|
+ <div class="code-name">.transport-zu1468
|
|
713
|
+ </div>
|
|
714
|
+ </li>
|
|
715
|
+
|
|
716
|
+ <li class="dib">
|
686
|
717
|
<span class="icon icon_transport transport-Bduanshuzi"></span>
|
687
|
718
|
<div class="name">
|
688
|
719
|
B端数字2
|
|
@@ -1584,6 +1615,22 @@
|
1584
|
1615
|
|
1585
|
1616
|
<li class="dib">
|
1586
|
1617
|
<svg class="icon svg-icon" aria-hidden="true">
|
|
1618
|
+ <use xlink:href="#transport-arrow-right-full"></use>
|
|
1619
|
+ </svg>
|
|
1620
|
+ <div class="name">单箭头,长箭头,右</div>
|
|
1621
|
+ <div class="code-name">#transport-arrow-right-full</div>
|
|
1622
|
+ </li>
|
|
1623
|
+
|
|
1624
|
+ <li class="dib">
|
|
1625
|
+ <svg class="icon svg-icon" aria-hidden="true">
|
|
1626
|
+ <use xlink:href="#transport-zu1468"></use>
|
|
1627
|
+ </svg>
|
|
1628
|
+ <div class="name">急</div>
|
|
1629
|
+ <div class="code-name">#transport-zu1468</div>
|
|
1630
|
+ </li>
|
|
1631
|
+
|
|
1632
|
+ <li class="dib">
|
|
1633
|
+ <svg class="icon svg-icon" aria-hidden="true">
|
1587
|
1634
|
<use xlink:href="#transport-Bduanshuzi"></use>
|
1588
|
1635
|
</svg>
|
1589
|
1636
|
<div class="name">B端数字2</div>
|