|
|
@@ -55,6 +55,12 @@
|
|
|
<ul class="icon_lists dib-box">
|
|
|
|
|
|
<li class="dib">
|
|
|
+ <span class="icon iconfont"></span>
|
|
|
+ <div class="name">切换</div>
|
|
|
+ <div class="code-name">&#xe70a;</div>
|
|
|
+ </li>
|
|
|
+
|
|
|
+ <li class="dib">
|
|
|
<span class="icon iconfont"></span>
|
|
|
<div class="name">表单 列表-03</div>
|
|
|
<div class="code-name">&#xe653;</div>
|
|
|
@@ -372,9 +378,9 @@
|
|
|
<pre><code class="language-css"
|
|
|
>@font-face {
|
|
|
font-family: 'iconfont';
|
|
|
- src: url('iconfont.woff2?t=1630590563275') format('woff2'),
|
|
|
- url('iconfont.woff?t=1630590563275') format('woff'),
|
|
|
- url('iconfont.ttf?t=1630590563275') format('truetype');
|
|
|
+ src: url('iconfont.woff2?t=1632896613541') format('woff2'),
|
|
|
+ url('iconfont.woff?t=1632896613541') format('woff'),
|
|
|
+ url('iconfont.ttf?t=1632896613541') format('truetype');
|
|
|
}
|
|
|
</code></pre>
|
|
|
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
|
|
|
@@ -401,6 +407,15 @@
|
|
|
<ul class="icon_lists dib-box">
|
|
|
|
|
|
<li class="dib">
|
|
|
+ <span class="icon iconfont icon-B"></span>
|
|
|
+ <div class="name">
|
|
|
+ 切换
|
|
|
+ </div>
|
|
|
+ <div class="code-name">.icon-B
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+
|
|
|
+ <li class="dib">
|
|
|
<span class="icon iconfont icon-biaodanliebiao-"></span>
|
|
|
<div class="name">
|
|
|
表单 列表-03
|
|
|
@@ -879,6 +894,14 @@
|
|
|
|
|
|
<li class="dib">
|
|
|
<svg class="icon svg-icon" aria-hidden="true">
|
|
|
+ <use xlink:href="#icon-B"></use>
|
|
|
+ </svg>
|
|
|
+ <div class="name">切换</div>
|
|
|
+ <div class="code-name">#icon-B</div>
|
|
|
+ </li>
|
|
|
+
|
|
|
+ <li class="dib">
|
|
|
+ <svg class="icon svg-icon" aria-hidden="true">
|
|
|
<use xlink:href="#icon-biaodanliebiao-"></use>
|
|
|
</svg>
|
|
|
<div class="name">表单 列表-03</div>
|