Advertisement
koyuki13

Help Sauron

Feb 27th, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 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. <header>
  10. <nav class="hover-effect">
  11. <ul>
  12. <li>FindThePrecious.com</li>
  13. <li>Fellows</li>
  14. <li>Contact us</li>
  15. </ul>
  16. </nav>
  17. </header>
  18. <section>
  19. <div class="carousel"></div>
  20. </section>
  21. <section>
  22. <h2 class="h2">Fellows wanted dead (or alive if you want to eat them later)</h2>
  23. </section>
  24. <section>
  25. <article>
  26. <a href="https://placeholder.com/" title="the wizard, small description"><img src="https://via.placeholder.com/250" alt="image" class="image1"></a>
  27. <a href="https://placeholder.com/" title="hobbit, small description"><img src="https://via.placeholder.com/250" alt="image" class="image2"></a>
  28. <a href="https://placeholder.com/" title="yummy dwarf, small description"><img src="https://via.placeholder.com/250" alt="image"></a>
  29. </article>
  30.  
  31. </section>
  32. <form>
  33. <h2 class="contact-us">Contact us</h2>
  34. <p><input type="email" placeholder="@"></p>
  35. <p><input type="text" placeholder="&#8962;"></p>
  36. <p><input type="text" placeholder="I have seen one of them"></p>
  37. <p><textarea placeholder="Your message" class="message"></textarea></p>
  38. </form>
  39. </body>
  40. </html>
  41.  
  42.  
  43. body{
  44. font-family: "Source Sans Pro", serif;
  45. }
  46. header{
  47. background: rgb(73, 71, 71);
  48. }
  49. .hover-effect:hover{
  50. text-decoration: underline;
  51. background-color: rgba(255, 255, 255, 0.4);
  52. /*opacity: 0.3;
  53. cursor: pointer;
  54. z-index: 3;*/
  55. }
  56. li{
  57. display: inline-block;
  58. padding: 10px;
  59. width: 200px;
  60. background-color: rgb(73, 71, 71);
  61. opacity: 0.6;
  62. }
  63. .carousel{
  64. background: grey;
  65. margin-top: 0;
  66. width: 100%;
  67. height: 200px;
  68. }
  69. .h2{
  70. text-align: center;
  71. }
  72. article{
  73. text-align: center;
  74. }
  75. .image1{
  76. width: 20%;
  77. margin-right: 5%;
  78. }
  79. .image2{
  80. width: 20%;
  81. margin-right: 5%;
  82. }
  83. form{
  84. text-align: center;
  85. }
  86. .contact-us{
  87. text-align: left;
  88. border-top: 3px solid black;
  89. }
  90. input{
  91. width: 60%;
  92. }
  93. p{
  94. display: block;
  95. margin: 10px;
  96. padding: 2px;
  97. }
  98. .message{
  99. width: 60%;
  100. padding: 2px;
  101. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement