pusatdata

CSS: Import Google Font

Feb 19th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. letakkan kode import paling atas css:
  2. @import url('http://fonts.googleapis.com/css?family=Lobster+Two');
  3.  
  4. kode penggunaan css:
  5.  
  6. .mutiara1 {
  7. font: 100 16px/1.1 'Oleo Script',Helvetica,sans-serif;
  8. background-color: #F96712;
  9. color: #F1E0B4;
  10. padding: 10px;
  11. }
  12.  
  13.  
  14. .mutiara2 {
  15. font: 100 17px 'Lobster Two',Helvetica,sans-serif;
  16. background-color: #A94682;
  17. color: #F5D681;
  18. }
  19.  
  20. .mutiara3 {
  21. font: 100 14px/1.2 'Berkshire Swash',Helvetica,sans-serif;
  22. background-color: #263A55;
  23. color: #FDFDFD;
  24. }
  25.  
  26. .mutiara4 {
  27. font: 100 14px/1.3 'Merienda One',Helvetica,sans-serif;
  28. background-color: #97BC72;
  29. color: #FDFDFD;
  30. }
  31.  
  32. .mutiara5 {
  33. font: 100 18px/1.3 'Pacifico',Helvetica,sans-serif;
  34. background-color: #018DB1;
  35. color: #FDFDFD;
  36. }
Add Comment
Please, Sign In to add comment