mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Add Add Fab Icons To Your Site With FontAwesome 5 as a css til
This commit is contained in:
@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
|
||||
For a steady stream of TILs from a variety of rocketeers, checkout
|
||||
[til.hashrocket.com](https://til.hashrocket.com/).
|
||||
|
||||
_674 TILs and counting..._
|
||||
_675 TILs and counting..._
|
||||
|
||||
---
|
||||
|
||||
@@ -88,6 +88,7 @@ _674 TILs and counting..._
|
||||
|
||||
### CSS
|
||||
|
||||
- [Add Fab Icons To Your Site With FontAwesome 5](css/add-fab-icons-to-your-site-with-fontawesome-5.md)
|
||||
- [Apply Styles To The Last Child Of A Specific Type](css/apply-styles-to-the-last-child-of-a-specific-type.md)
|
||||
- [Dry Up SCSS With Mixins](css/dry-up-scss-with-mixins.md)
|
||||
- [Lighten And Darken With CSS Brightness Filter](css/lighten-and-darken-with-css-brightness-filter.md)
|
||||
|
||||
18
css/add-fab-icons-to-your-site-with-fontawesome-5.md
Normal file
18
css/add-fab-icons-to-your-site-with-fontawesome-5.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# Add Fab Icons To Your Site With FontAwesome 5
|
||||
|
||||
Check out the latest version of [FontAwesome](https://fontawesome.com/).
|
||||
|
||||
> Version 5 has been re-written and re-designed completely from scratch.
|
||||
|
||||
One part of the rewrite is that _brand_ icons have been organized into their
|
||||
own collection. Whether you are using the full suite or just the brands
|
||||
bundle, you'll be referencing these icons with the `fab` class name.
|
||||
|
||||
```html
|
||||
<i class="fab fa-react" />
|
||||
```
|
||||
|
||||
This will give you a React icon.
|
||||
|
||||
Check out all the different [_brand_ icons
|
||||
here](https://fontawesome.com/icons?d=gallery&s=brands).
|
||||
Reference in New Issue
Block a user