Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Find the precious!</title>
- <link rel="stylesheet" href="style.css">
- </head>
- <body>
- <nav>
- <ul>
- <li>FindThePrecious.com</li>
- <li class="color">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="images">
- <article></article>
- <article></article>
- <article></article>
- </section>
- <hr>
- <form>
- <h2 class="formulaire">Contact us</h2>
- <ul>
- <li><input id="email" type="email" placeholder="@"></li>
- <li><input id="home" type="text" placeholder="⌂"></li>
- <li><input id="defilant" type="text" placeholder="I have seen one of them"></li>
- <li><textarea id="message" placeholder="Your message"></textarea></li>
- </ul>
- </form>
- </body>
- </html>
- /* version desktop */
- * {
- margin: 0px;
- padding: 0px;
- }
- nav ul {
- display: flex;
- list-style-type: none;
- padding: 0 3px;
- background-color: #696969;
- }
- li {
- padding: 6px;
- }
- .color {
- background-color: #E7E4E4;
- }
- .carousel {
- height: 120px;
- background-color: #EFECEB;
- }
- h2 {
- padding: 30px;
- text-align: center;
- }
- .images {
- text-align: center;
- }
- article {
- height: 200px;
- width: 25%;
- padding: 20px;
- margin: 1%;
- display: inline-block;
- background-color: #EFECEB;
- }
- hr {
- color: black;
- }
- form {
- text-align: center;
- }
- .formulaire {
- text-align: left;
- font-size: 40px
- }
- #email {
- width: 70%;
- }
- #home {
- width: 70%;
- }
- #defilant {
- width: 70%;
- border-radius: 3px;
- }
- #message {
- height: 200px;
- width: 90%}
- @media only screen and (max-width: 961px) {
- .carousel {
- display: none;
- height: 120px;
- background-color: #EFECEB;
- }
- .images {
- display: none;
- text-align: center;
- }
- h2 {
- padding: 30px;
- text-align: center;
- font-size: 50px;
- }
- .formulaire {
- text-align: center;
- font-size: 40px;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement