| License: | MIT
How to use it:
1. Load the required kc.fab.css that includes basic styles and awesome CSS3 powered ripple click effects for the floating action button.
1 | <link rel="stylesheet" href="kc.fab.css"> |
2. Load the Font Awesome Icon Font for button/action icons (Optional).
1 | <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> |
3. Create a container for the floating action button.
1 | <div class="kc_fab_wrapper"> |
4. Add links, custom colors, icons to the action button as follow.
10 | "icon":"<i class='fa fa-google-plus'></i>", |
17 | "icon":"<i class='fa fa-<a href="http: |
24 | "icon":"<i class='fa fa-facebook'></i>", |
31 | "icon":"<i class='fa fa-home'></i>" |
|
No comments:
Post a Comment