Advertisement
ndburrus

Add Font Awesome Icons to our Buttons @SID-London

Aug 9th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. // @SID-London
  2. // Add Font Awesome Icons to our Buttons
  3.  
  4. <link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
  5.  
  6. <style>
  7.  
  8. h2 {
  9. font-family: Lobster, Monospace;
  10. }
  11.  
  12. .thick-green-border {
  13. border-color: green;
  14. border-width: 10px;
  15. border-style: solid;
  16. border-radius: 50%;
  17. }
  18.  
  19. </style>
  20.  
  21. <div class="container-fluid">
  22.  
  23. <div class="row">
  24. <div class="col-xs-8">
  25. <h2 class="text-primary text-center">CatPhotoApp</h2>
  26. </div>
  27. <div class="col-xs-4">
  28. <a href="#"><img class="img-responsive thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. "></a>
  29. </div>
  30. </div>
  31. <img src="https://bit.ly/fcc-running-cats" class="img-responsive" alt="Three kittens running towards the camera. ">
  32. <div class="row">
  33. <div class="col-xs-4">
  34. <button> <i class="fa fa-thumbs-up">Like</i></button>
  35. </div>
  36. <div class="col-xs-4">
  37. <button class="btn btn-block btn-info">Info</button>
  38. </div>
  39. <div class="col-xs-4">
  40. <button class="btn btn-block btn-danger">Delete</button>
  41. </div>
  42. </div>
  43. <p>Things cats <span class="text-danger">love:</span></p>
  44. <ul>
  45. <li>cat nip</li>
  46. <li>laser pointers</li>
  47. <li>lasagna</li>
  48. </ul>
  49. <p>Top 3 things cats hate:</p>
  50. <ol>
  51. <li>flea treatment</li>
  52. <li>thunder</li>
  53. <li>other cats</li>
  54. </ol>
  55. <form action="/submit-cat-photo">
  56. <label><input type="radio" name="indoor-outdoor"> Indoor</label>
  57. <label><input type="radio" name="indoor-outdoor"> Outdoor</label>
  58. <label><input type="checkbox" name="personality"> Loving</label>
  59. <label><input type="checkbox" name="personality"> Lazy</label>
  60. <label><input type="checkbox" name="personality"> Crazy</label>
  61. <input type="text" placeholder="cat photo URL" required>
  62. <button type="submit">Submit</button>
  63. </form>
  64. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement