ndburrus

Size your Images @dadcob

Aug 10th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. // @dadcob
  2. // size your images
  3.  
  4. <style>
  5.  
  6. .red-text {
  7. color: red;
  8. // need } to close ".red-text {"
  9. p {
  10. font-size: 16px;
  11. // looks like font-family: Monospace; needs to be included.
  12. }
  13.  
  14. // looks like 2 more elements need to be included: a) .smaller-image (with width: 100px;)
  15. // and b) h2 (with font-family: Lobster, Monospace;). Both of these should be in/within the style tags.
  16.  
  17. }
  18.  
  19. </style>
  20.  
  21. ​<h2 class="red-text">CatPhotoApp</h2>
  22.  
  23. // need h2 element with "red-text" class, and CatPhotoApp text
  24.  
  25. ​<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>
  26.  
  27. <p> Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p> // this p element needs the "red-text class"
Add Comment
Please, Sign In to add comment