Font Awesome - Ikon Mata Uang
Bab ini menjelaskan penggunaan ikon Font Awesome Currency. Asumsikan bahwacustom adalah nama kelas CSS tempat kami menentukan ukuran dan warna, seperti yang ditunjukkan pada contoh yang diberikan di bawah ini.
<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>
Tabel berikut menunjukkan penggunaan dan hasil ikon Font Awesome Currency. Ganti tag <body> dari program di atas dengan kode yang diberikan dalam tabel untuk mendapatkan output masing-masing -
Pemakaian | Hasil |
---|---|
<i class = "fa fa-bitcoin custom"> </i> | |
<i class = "fa fa-btc custom"> </i> | |
<i class = "fa fa-cny custom"> </i> | |
<i class = "fa fa-dollar custom"> </i> | |
<i class = "fa fa-eur custom"> </i> | |
<i class = "fa fa-euro custom"> </i> | |
<i class = "fa fa-gbp custom"> </i> | |
<i class = "fa fa-gg custom"> </i> | |
<i class = "fa fa-gg-circle custom"> </i> | |
<i class = "fa fa-ils custom"> </i> | |
<i class = "fa fa-inr custom"> </i> | |
<i class = "fa fa-jpy custom"> </i> | |
<i class = "fa fa-krw custom"> </i> | |
<i class = "fa fa-money custom"> </i> | |
<i class = "fa fa-rmb custom"> </i> | |
<i class = "fa fa-ruble custom"> </i> | |
<i class = "fa fa-rub custom"> </i> | |
<i class = "fa fa-ruble custom"> </i> | |
<i class = "fa fa-rupee custom"> </i> | |
<i class = "fa fa-shekel custom"> </i> | |
<i class = "fa fa-sheqel custom"> </i> | |
<i class = "fa fa-try custom"> </i> | |
<i class = "fa fa-turkish-lira custom"> </i> | |
<i class = "fa fa-usd custom"> </i> | |
<i class = "fa fa-won custom"> </i> | |
<i class = "fa fa-yen custom"> </i> |