|
@@ -55,9 +55,21 @@
|
|
|
<ul class="icon_lists dib-box">
|
|
|
|
|
|
<li class="dib">
|
|
|
- <span class="icon iconfont"></span>
|
|
|
+ <span class="icon iconfont"></span>
|
|
|
<div class="name">filter</div>
|
|
|
- <div class="code-name">&#xe7b6;</div>
|
|
|
+ <div class="code-name">&#xe8b7;</div>
|
|
|
+ </li>
|
|
|
+
|
|
|
+ <li class="dib">
|
|
|
+ <span class="icon iconfont"></span>
|
|
|
+ <div class="name">box</div>
|
|
|
+ <div class="code-name">&#xe7ba;</div>
|
|
|
+ </li>
|
|
|
+
|
|
|
+ <li class="dib">
|
|
|
+ <span class="icon iconfont"></span>
|
|
|
+ <div class="name">location</div>
|
|
|
+ <div class="code-name">&#xe7b7;</div>
|
|
|
</li>
|
|
|
|
|
|
<li class="dib">
|
|
@@ -174,9 +186,9 @@
|
|
|
<pre><code class="language-css"
|
|
|
>@font-face {
|
|
|
font-family: 'iconfont';
|
|
|
- src: url('iconfont.woff2?t=1734012491787') format('woff2'),
|
|
|
- url('iconfont.woff?t=1734012491787') format('woff'),
|
|
|
- url('iconfont.ttf?t=1734012491787') format('truetype');
|
|
|
+ src: url('iconfont.woff2?t=1734183808723') format('woff2'),
|
|
|
+ url('iconfont.woff?t=1734183808723') format('woff'),
|
|
|
+ url('iconfont.ttf?t=1734183808723') format('truetype');
|
|
|
}
|
|
|
</code></pre>
|
|
|
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
|
|
@@ -203,11 +215,29 @@
|
|
|
<ul class="icon_lists dib-box">
|
|
|
|
|
|
<li class="dib">
|
|
|
- <span class="icon iconfont icon-filter"></span>
|
|
|
+ <span class="icon iconfont icon-filter-copy"></span>
|
|
|
<div class="name">
|
|
|
filter
|
|
|
</div>
|
|
|
- <div class="code-name">.icon-filter
|
|
|
+ <div class="code-name">.icon-filter-copy
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+
|
|
|
+ <li class="dib">
|
|
|
+ <span class="icon iconfont icon-box-copy"></span>
|
|
|
+ <div class="name">
|
|
|
+ box
|
|
|
+ </div>
|
|
|
+ <div class="code-name">.icon-box-copy
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+
|
|
|
+ <li class="dib">
|
|
|
+ <span class="icon iconfont icon-location-copy"></span>
|
|
|
+ <div class="name">
|
|
|
+ location
|
|
|
+ </div>
|
|
|
+ <div class="code-name">.icon-location-copy
|
|
|
</div>
|
|
|
</li>
|
|
|
|
|
@@ -384,10 +414,26 @@
|
|
|
|
|
|
<li class="dib">
|
|
|
<svg class="icon svg-icon" aria-hidden="true">
|
|
|
- <use xlink:href="#icon-filter"></use>
|
|
|
+ <use xlink:href="#icon-filter-copy"></use>
|
|
|
</svg>
|
|
|
<div class="name">filter</div>
|
|
|
- <div class="code-name">#icon-filter</div>
|
|
|
+ <div class="code-name">#icon-filter-copy</div>
|
|
|
+ </li>
|
|
|
+
|
|
|
+ <li class="dib">
|
|
|
+ <svg class="icon svg-icon" aria-hidden="true">
|
|
|
+ <use xlink:href="#icon-box-copy"></use>
|
|
|
+ </svg>
|
|
|
+ <div class="name">box</div>
|
|
|
+ <div class="code-name">#icon-box-copy</div>
|
|
|
+ </li>
|
|
|
+
|
|
|
+ <li class="dib">
|
|
|
+ <svg class="icon svg-icon" aria-hidden="true">
|
|
|
+ <use xlink:href="#icon-location-copy"></use>
|
|
|
+ </svg>
|
|
|
+ <div class="name">location</div>
|
|
|
+ <div class="code-name">#icon-location-copy</div>
|
|
|
</li>
|
|
|
|
|
|
<li class="dib">
|