Advertisement
vitareinforce

Exercise Event Close

Aug 17th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <html>
  3.  
  4. <head>
  5. <style>
  6. body {
  7. margin: 10px auto;
  8. width: 470px;
  9. }
  10.  
  11. h3 {
  12. margin: 0;
  13. padding-bottom: .3em;
  14. font-size: 1.1em;
  15. }
  16.  
  17. p {
  18. margin: 0;
  19. padding: 0 0 .5em;
  20. }
  21.  
  22. .pane {
  23. background: #edf5e1;
  24. padding: 10px 20px 10px;
  25. border-top: solid 2px #c4df9b;
  26. }
  27.  
  28. .remove-button {
  29. font-size: 110%;
  30. color: darkred;
  31. right: 10px;
  32. width: 24px;
  33. height: 24px;
  34. border: none;
  35. background: transparent;
  36. cursor: pointer;
  37. }
  38. </style>
  39. <meta charset="utf-8">
  40. </head>
  41.  
  42. <body>
  43.  
  44. The button code (may need to adjust CSS):
  45. <button class="remove-button">[x]</button>
  46.  
  47. <div>
  48. <div class="pane">
  49. <h3>Horse</h3>
  50. <p>The horse is one of two extant subspecies of Equus ferus. It is an odd-toed ungulate mammal belonging to the taxonomic family Equidae. The horse has evolved over the past 45 to 55 million years from a small multi-toed creature, Eohippus, into the large, single-toed animal of today.</p>
  51. </div>
  52. <div class="pane">
  53. <h3>Donkey</h3>
  54. <p>The donkey or ass (Equus africanus asinus) is a domesticated member of the horse family, Equidae. The wild ancestor of the donkey is the African wild ass, E. africanus. The donkey has been used as a working animal for at least 5000 years.</p>
  55. </div>
  56. <div class="pane">
  57. <h3>Cat</h3>
  58. <p>The domestic cat (Latin: Felis catus) is a small, typically furry, carnivorous mammal. They are often called house cats when kept as indoor pets or simply cats when there is no need to distinguish them from other felids and felines. Cats are often valued by humans for companionship and for their ability to hunt vermin.
  59. </p>
  60. </div>
  61. </div>
  62.  
  63. </body>
  64. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement