2

Font Awesome的平替

 1 year ago
source link: https://www.riichiie.net/2023/06/03/alternative-to-font-awesome/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Font Awesome的平替

3rd June 2023

Dashicons 是自带于 WordPress 核心中的一个图标字体库,也是刚刚偶然发现的Font Awesome的平替。使用方法:

在主题中加载Dashicons,在functions.php文件中插入:

wp_enqueue_style( 'dashicons' );

用法与Font Awesome一样,比如在css中定义:

font-family: 'dashicons';
content: "\f323";

由于是WordPress出品,管理后台同款,感觉上比额外加载Font Awesome要更轻便。

图标集查看地址:https://developer.wordpress.org/resource/dashicons/

部落格//Be Blogger.blog, codes, WordPress.

Post navigation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Comment *

Name *

Email *

Website

 ×  eight  =  forty

 Notify me when new comments are added


Recommend

  • 18
    • www.woshipm.com 3 years ago
    • Cache

    在Axure 9.0 上使用Font Awesome

    编辑导语:如何在 Axure 9.0 上使用 Font Awesome呢?本文作者通过实际操作,分享出了具体的流程,并且为我们进行了分析和总结。

  • 8
    • marco.dev 3 years ago
    • Cache

    Use Font Awesome with Angular

    java-version.com: What's new in Java 16? 15? Keep up to date! Use Font Awesome with Angular Install the Font Awes...

  • 11
    • chrispenner.ca 3 years ago
    • Cache

    Gem: Font-Awesome

    Gem: Font-Awesome by Chris Penner...

  • 11

    When Font Awesome Won't Render in Production on Rails 5.x Aug 12, 2017 Font Awesome is one of those staggeringly good open source projects that you don't realize just how g...

  • 6

    When Your Font Awesome Etsy Icon Doesn't Display Mar 16, 2017 I'm a fan of Font Awesome and I think enough of it that it was actually the first bit of soft...

  • 5

    Rails Tutorial - Making Font Awesome Work with Rails 5 Jan 24, 2017 Like a lot of back end folks I suspect I'm not alone when I look at a project like Font Awesome and go "Great Work; damn if I know how to act...

  • 5
    • blog.hhking.cn 3 years ago
    • Cache

    Awesome Font-end

    Awesome Font-end前端实用备忘录 138 | Posted by hhking on 2018-12-03前端的发展日新月异,新的技术、新的工具如雨后春笋,不断的冒出来。作为前端,身处于大前端的繁荣时...

  • 4

    news view 最近想在 CSS ::after 中直接使用 Font Awesome 图标. 我们可以直接看代码了解如何去使用, 也可以通过

  • 2
    • www.geeksforgeeks.org 3 years ago
    • Cache

    How to load font-awesome using SCSS ?

    How to load font-awesome using SCSS ?How to load font-awesome using SCSS ?In order to load font-awesome icons in SCSS you need to follow these steps:Install Font-Awesome starter kit: Go to the font-awes...

  • 2
    • dev.to 2 years ago
    • Cache

    Font Awesome- Explained

    Font Awesome- Explained user experience is null without icons. In computing, an icon is a pictogram or ideogram displayed on a computer screen in order to help the user navigate a computer system. The icon itself...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK