Font Awesome - Icone direzionali
Questo capitolo spiega l'uso delle icone direzionali di Font Awesome. Assumilocustom è il nome della classe CSS in cui abbiamo definito la dimensione e il colore, come mostrato nell'esempio riportato di seguito.
<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>
La tabella seguente mostra l'utilizzo ei risultati delle icone direzionali di Font Awesome. Sostituisci il tag <body> del programma precedente con il codice fornito nella tabella per ottenere i rispettivi output -
Utilizzo | Risultato |
---|---|
<i class = "fa fa-angle-double-down custom"> </i> | |
<i class = "fa fa-angle-double-left custom"> </i> | |
<i class = "fa fa-angle-double-right custom"> </i> | |
<i class = "fa fa-angle-double-up custom"> </i> | |
<i class = "fa fa-angle-down custom"> </i> | |
<i class = "fa fa-angle-left custom"> </i> | |
<i class = "fa fa-angle-right custom"> </i> | |
<i class = "fa fa-angle-up custom"> </i> | |
<i class = "fa fa-arrow-circle-down custom"> </i> | |
<i class = "fa fa-arrow-circle-left custom"> </i> | |
<i class = "fa fa-arrow-circle-right custom"> </i> | |
<i class = "fa fa-arrow-circle-up custom"> </i> | |
<i class = "fa fa-arrow-circle-o-down custom"> </i> | |
<i class = "fa fa-arrow-circle-o-left custom"> </i> | |
<i class = "fa fa-arrow-circle-o-right custom"> </i> | |
<i class = "fa fa-arrow-circle-o-up custom"> </i> | |
<i class = "fa fa-arrow-down custom"> </i> | |
<i class = "fa fa-arrow-left custom"> </i> | |
<i class = "fa fa-arrow-right custom"> </i> | |
<i class = "fa fa-arrow-up custom"> </i> | |
<i class = "fa fa-arrows custom"> </i> | |
<i class = "fa fa-frecce-alt custom"> </i> | |
<i class = "fa fa-frecce-h custom"> </i> | |
<i class = "fa fa-frecce-v custom"> </i> | |
<i class = "fa fa-caret-down custom"> </i> | |
<i class = "fa fa-caret-left custom"> </i> | |
<i class = "fa fa-caret-right custom"> </i> | |
<i class = "fa fa-caret-up custom"> </i> | |
<i class = "fa fa-caret-square-o-down custom"> </i> | |
<i class = "fa fa-caret-square-o-left custom"> </i> | |
<i class = "fa fa-caret-square-o-right custom"> </i> | |
<i class = "fa fa-caret-square-o-up custom"> </i> | |
<i class = "fa fa-chevron-circle-down custom"> </i> | |
<i class = "fa fa-chevron-circle-left custom"> </i> | |
<i class = "fa fa-chevron-circle-right custom"> </i> | |
<i class = "fa fa-chevron-circle-up custom"> </i> | |
<i class = "fa fa-chevron-down custom"> </i> | |
<i class = "fa fa-chevron-left custom"> </i> | |
<i class = "fa fa-chevron-right custom"> </i> | |
<i class = "fa fa-chevron-up custom"> </i> | |
<i class = "fa fa-hand-o-down custom"> </i> | |
<i class = "fa fa-hand-o-left custom"> </i> | |
<i class = "fa fa-hand-o-right custom"> </i> | |
<i class = "fa fa-hand-o-up custom"> </i> | |
<i class = "fa fa-long-arrow-down custom"> </i> | |
<i class = "fa fa-long-arrow-left custom"> </i> | |
<i class = "fa fa-long-arrow-right custom"> </i> | |
<i class = "fa fa-long-arrow-up custom"> </i> | |
<i class = "fa fa-toggle-down custom"> </i> | |
<i class = "fa fa-toggle-left custom"> </i> | |
<i class = "fa fa-toggle-right custom"> </i> | |
<i class = "fa fa-toggle-up custom"> </i> | |
<i class = "fa fa-exchange custom"> </i> |