Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Find the precious!</title>
- <link rel="stylesheet" href="style.css">
- </head>
- <body>
- <nav class="header">
- <ul class="menu">
- <li class="title">FindThePrecious.com</li>
- <li class="fellows">Fellows</li>
- <li>Contact us</li>
- </ul>
- </nav>
- <section>
- <div class="carousel"></div>
- </section>
- <section>
- <h2>Fellows wanted dead (or alive if you want to eat them later)</h2>
- </section>
- <section class="img">
- <span class="imgbloc"><article>
- <a href="https://placeholder.com" title="here is an Orc"><img src="https://via.placeholder.com/150" alt="here is a Orc" title="click to enlarge."></a>
- </article>
- <article><a href="https://placeholder.com" title="this is a Goblin."><img src="https://via.placeholder.com/150" alt="here is a Gobelin" title="click to enlarge."></a></article>
- <article><a href="https://placeholder.com" title="finally the Balrogs."><img src="https://via.placeholder.com/150" alt="here is a Balrogs" title="click to enlarge."></a></article></span>
- </section>
- <form class="contact">
- <h2 class="titlecontact">Contact us</h2>
- <span class="formulaire"><input type="email" placeholder="@">
- <input type="text" placeholder="⌂">
- <input type="text" placeholder="I have seen one of them">
- <textarea placeholder="Your message" class="commentaires"></textarea></span>
- </form>
- </body>
- </html>
- .header
- {
- background: lightgrey;
- height: 300px;
- }
- .menu
- {
- background: grey;
- list-style: none;
- padding: 0px;
- margin: 0px;
- height: 25px;
- }
- li
- {
- padding: 3px;
- margin: 0px;
- display: inline-block;
- height: 20px;
- width: 150px;
- color: white;
- }
- .img
- {
- width: 500px;
- padding: 150px;
- margin-left: auto;
- margin-right: auto;
- }
- img
- {
- margin: 10px;
- }
- .imgbloc
- {
- width: 500px;
- display: flex;
- }
- .title
- {
- font-size: 1em;
- }
- .fellows
- {
- background: lightgrey;
- color: black;
- text-align: center;
- }
- h2
- {
- text-align: center;
- }
- .contact
- {
- border-top: 1px solid black;
- margin: 10px;
- }
- .titlecontact
- {
- text-align: left;
- }
- .formulaire{
- display: block;
- width: 850px;
- margin-left: auto;
- margin-right: auto;
- padding: 25px;
- }
- .commentaires
- {
- margin: 10px;
- padding: 5px;
- width: 800px;
- }
- input
- {
- display: block;
- margin: 10px;
- position: center;
- width: 800px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement