The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
How to make social media...
By Guest on 19th July 2018 01:45:23 PM | Syntax: TEXT | Views: 2



New paste | Download | Show/Hide line no. | Copy text to clipboard
  1. HTML (using font-awesome):
  2. <ul id='services'>
  3.     <li>
  4.     <a href="<?php echo $face; ?>"> <div class='fa fa-facebook'></div></a>
  5.     </li>
  6.     <li>
  7.     <a href="<?php echo $twit; ?>"> <div class='fa fa-twitter'></div></a>
  8.     </li>
  9.     <li>
  10.     <a href="<?php echo $google; ?>"> <div class='fa fa-google'></div></a>
  11.     </li>
  12.   </ul>
  13.  
  14. CSS (pay attention to @import code below):
  15. @import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css);
  16.  
  17. /* font-awesome */
  18. [class*="font-awesome-"]:before {
  19.   font-family: 'font-awesome', Tahoma;
  20. }



  • Recent Pastes

Advertise here

Advertise here