Advertisement
ndburrus

change font size @svasyanovych

Aug 7th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.68 KB | None | 0 0
  1. <!-- @svasyanovych  Change the Font Size of an Element -->
  2.  
  3. <style>
  4. .red-text {
  5.   color: red;
  6. }
  7.  
  8. p {
  9.   font-size: 16px;
  10. }
  11.  
  12. </style>
  13.  
  14. <h2 class="red-text">CatPhotoApp</h2>
  15.  
  16. <p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
  17.  
  18. <p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
  19.  
  20. <!-- the above text should be "Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched" -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement