Blogger Information
Blog 18
fans 0
comment 3
visits 12468
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
字体图标的引入与显示
P粉019280626
Original
390 people have browsed it
  1. <!--在iconfont中创建并下载到购物车链接后,
  2. 在html里直接link 引入,或者建立CSS文件引入(更能自由化编辑).
  3. 在div里要使用iconfont,和"下载到购物车字体的名称"字体才能生效-->
  4. <!DOCTYPE html>
  5. <html lang="zh-CN">
  6. <head>
  7. <meta charset="UTF-8">
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  9. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  10. <title>字体图标</title>
  11. <link rel="stylesheet" href="//at.alicdn.com/t/c/font_3891959_fh8cu3zuujv.css">
  12. </head>
  13. <body>
  14. <!-- class类的字体图标,直接在顶部link引用网址上的链接 -->
  15. <div class="iconfont" >
  16. <span class="icon-shezhitianchong">
  17. </span>
  18. </div>
  19. </body>
  20. </html>

Correcting teacher:PHPzPHPz

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments