Advertisement
Guest User

findtheprecious4

a guest
Feb 27th, 2020
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Find the precious!</title>
  6. <link rel="stylesheet" href="style.css">
  7. </head>
  8. <body>
  9. <nav>
  10. <ul>
  11. <li>FindThePrecious.com</li>
  12. <li>Fellows</li>
  13. <li>Contact us</li>
  14. </ul>
  15. </nav>
  16. <section>
  17. <div class="carousel">
  18. <img class="fellowship-picture"
  19. src="http://via.placeholder.com/140.jpg"
  20. alt="fellowship pictures">
  21.  
  22. </div>
  23. </section>
  24. <section>
  25. <h2>Fellows wanted dead <span>(or alive if you want to eat them later)</span></h2>
  26. </section>
  27. <section>
  28.  
  29. <article>
  30. <img class="wizard-pict"
  31. src="https://via.placeholder.com/45x60.png"
  32. alt="wizard picture an Fellows wanted">
  33. </article>
  34. <article>
  35. <img class="wizard-pict"
  36. src="https://via.placeholder.com/45x60.png"
  37. alt="wizard picture an Fellows wanted">
  38. </article>
  39. <article>
  40. <img class="wizard-pict"
  41. src="https://via.placeholder.com/45x60.png"
  42. alt="wizard picture an Fellows wanted">
  43. </article>
  44.  
  45. </section>
  46. <hr>
  47. <form>
  48. <h2>Contact us</h2>
  49. <input type="email" placeholder="@">
  50. <input type="text" placeholder="&#8962;">
  51. <input type="text" placeholder="I have seen one of them">
  52. <textarea placeholder="Your message"></textarea>
  53. </form>
  54. </body>
  55. </html>
  56.  
  57.  
  58. html {
  59. box-sizing: border-box;
  60. }
  61. *, *::before, *::after {
  62. box-sizing: inherit;
  63. }
  64. ul {
  65.  
  66. padding: 0px;
  67. margin: 0px;
  68. list-style: none;
  69. background-color: black;
  70. color: grey;
  71. }
  72.  
  73. li {
  74. padding: 5px;
  75. display: inline-block;
  76.  
  77. }
  78. li:nth-of-type(2) {
  79. background-color: lightgray
  80. }
  81.  
  82. .fellowship-picture {
  83. width: 100%;
  84. height: 140px;
  85.  
  86. }
  87. article {
  88. display:inline-block;
  89. margin: 0;
  90. width: 33%;
  91. }
  92. section h2 {
  93. text-align: center;
  94. margin-top: 5%;
  95. margin-bottom: 5%;
  96. }
  97.  
  98. section:nth-of-type(3) {
  99. width: 100%;
  100. }
  101. hr {
  102. margin-top: 10%;
  103. }
  104. article img {
  105. width: 100%;
  106. height: 200px;
  107.  
  108. }
  109. h2 {
  110. margin-top: 5px;
  111. text-align: left;
  112. }
  113. input {
  114. display: block;
  115. width: 80%;
  116. margin: 2% 10%;
  117. }
  118. textarea {
  119. display: block;
  120. width: 80%;
  121. margin: 2% 10%;
  122. height: 140px ;
  123. }
  124. span {
  125. font-size: 0.5em;
  126. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement