Advertisement
ndburrus

Size your Images @Numbr1Geek

Aug 9th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. // size your images
  2. // @Numbr1Geek
  3.  
  4. <link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
  5. <style>
  6. .red-text {
  7. color: red;
  8. }
  9.  
  10. h2 {
  11. font-family: Lobster, Monospace;
  12. }
  13.  
  14. p {
  15. font-size: 16px;
  16. font-family: Monospace;
  17.  
  18. // need }
  19.  
  20. .smaller-image // need {
  21. width: 100px;
  22. }
  23.  
  24. // delete {
  25. // delete width: 100px
  26. // delete <img smaller-image{
  27. // delete width: 100px
  28. // delete }
  29. // delete }
  30.  
  31. </style>
  32.  
  33. <h2 class="red-text">CatPhotoApp</h2>
  34.  
  35. <img class= smaller-image src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. ">
  36.  
  37. <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>
  38.  
  39. <p class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement