The internet's icon library + toolkit. Used by millions of designers, devs, & content creators. Open-source. Always free. Always awesome.
import { faPlus, faCircle } from '@fortawesome/free-solid-svg-icons' icon(faPlus, { mask: faCircle, maskId: 'circle' }).htmlAdd title attribute:icon(faBars, { title: 'Navigation menu' }).html<svg aria-labelledby="svg-inline--fa-title-abuUI77dy8" data-prefix="fas" data-icon=...
HTML <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous"> <div class="top-container"> <h2>Website Title</h2> <i class="fas fa-bars"><...
在HTML中创建一个包含FontAwesome图标的下拉菜单。 代码语言:txt 复制 <div class="dropdown"> <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="fas fa-bars"></i> ...
Floating Action Button,简称FAB,作为材料设计中(众多)独特的UI元素之一,用于特定场景中基本或有推动...
class="fas fa-bars toggle"></i> <i class="fas fa-times toggle"></i> </div> <nav> <a href="index.html"> <img src="images/logo.jpg" alt=""> </a> </nav> </div> </header> <script src="https://kit.fontawesome.com/ba33ab971e.js"></script> <script src="https://...
<a href="" class="fas fa-camera"></a> fontawesome主要是通过css引入字体文件实现显示图标。 其中在class中有2个主要内容。 标识图标样式的:用fas,far,fal,fad。其中 fas: 实体样式 far: 常规样式 fal: 线条样式 fad: 双色样式 fab: 品牌图标 ...
Bars bars <i class="fas fa-bars"></i> Baseball Ball baseball-ball <i class="fas fa-baseball-ball"></i> Basketball Ball basketball-ball <i class="fas fa-basketball-ball"></i> Bath bath <i class="fas fa-bath"></i> Battery Empty battery-empty <i class="fas fa-battery-empty">...
: Alternate Arrows | fas fa-arrows-alt | arrow, arrows, bigger, enlarge, expand, fullscreen, move, position, reorder, resize, font awesome drag handle | \f0b2 : Alternate Arrows Horizontal | fas fa-arrows-alt-h | arrows-h, expand, horizontal, landscape, resize, wide, | \f337 : Alte...
+ (FAIcon)fontAwesomeEnumForIconIdentifier:(NSString*)string { NSDictionary *enums = [self enumDictionary]; return [enums[string] integerValue]; } + (NSString*)fontAwesomeIconStringForEnum:(FAIcon)value { return [NSString fontAwesomeUnicodeStrings][value]; } + (NSString*)fontAwesomeIconStr...