Font Awesome - ikony edytora tekstu
W tym rozdziale wyjaśniono użycie ikon Font Awesome Text Editor. Zakładać, żecustom to nazwa klasy CSS, w której zdefiniowaliśmy rozmiar i kolor, jak pokazano w przykładzie podanym poniżej.
<html>
<head>
<link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css">
<style>
i.custom {font-size: 2em; color: gray;}
</style>
</head>
<body>
<i class = "fa fa-adjust custom"></i>
</body>
</html>
W poniższej tabeli przedstawiono użycie i efekty ikon edytora Font Awesome Text Editor. Zastąp tag <body> powyższego programu kodem podanym w tabeli, aby uzyskać odpowiednie wyniki -
Stosowanie | Wynik |
---|---|
<i class = "fa fa-align-center custom"> </i> | |
<i class = "fa fa-align-justify custom"> </i> | |
<i class = "fa fa-align-left custom"> </i> | |
<i class = "fa fa-align-right custom"> </i> | |
<i class = "fa fa-bold custom"> </i> | |
<i class = "fa fa-chain custom"> </i> | |
<i class = "fa fa-chain-broken custom"> </i> | |
<i class = "fa fa-clipboard custom"> </i> | |
<i class = "fa fa-columns custom"> </i> | |
<i class = "fa fa-copy custom"> </i> | |
<i class = "fa fa-cut custom"> </i> | |
<i class = "fa fa-dedent custom"> </i> | |
<i class = "fa fa-eraser custom"> </i> | |
<i class = "fa fa-file custom"> </i> | |
<i class = "fa fa-file-o custom"> </i> | |
<i class = "fa fa-file-text custom"> </i> | |
<i class = "fa fa-file-text-o custom"> </i> | |
<i class = "fa fa-files-o custom"> </i> | |
<i class = "fa fa-floppy-o custom"> </i> | |
<i class = "fa fa-font custom"> </i> | |
<i class = "fa fa-header custom"> </i> | |
<i class = "fa fa-indent custom"> </i> | |
<i class = "fa fa-italic custom"> </i> | |
<i class = "fa fa-link custom"> </i> | |
<i class = "fa fa-list custom"> </i> | |
<i class = "fa fa-list-alt custom"> </i> | |
<i class = "fa fa-list-ol custom"> </i> | |
<i class = "fa fa-list-ul custom"> </i> | |
<i class = "fa fa -datent custom"> </i> | |
<i class = "fa fa-paperclip custom"> </i> | |
<i class = "fa fa-paragraph custom"> </i> | |
<i class = "fa fa-paste custom"> </i> | |
<i class = "fa fa-repeat custom"> </i> | |
<i class = "fa fa-rotate-left custom"> </i> | |
<i class = "fa fa-rotate-right custom"> </i> | |
<i class = "fa fa-save custom"> </i> | |
<i class = "fa fa-scissors custom"> </i> | |
<i class = "fa fa-strikethrough custom"> </i> | |
<i class = "fa fa-subscript custom"> </i> | |
<i class = "fa fa-table custom"> </i> | |
<i class = "fa fa-text-heigh custom"> </i> | |
<i class = "fa fa-text-width custom"> </i> | |
<i class = "fa fa-th custom"> </i> | |
<i class = "fa fa-th-large custom"> </i> | |
<i class = "fa fa-th-list custom"> </i> | |
<i class = "fa fa-underline custom"> </i> | |
<i class = "fa fa-undo custom"> </i> | |
<i class = "fa fa-unlink custom"> </i> |