Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- **HTML**
- !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>Fellows</li>
- <li>Contact us</li>
- </ul>
- </nav>
- <section>
- <div class="carousel"></div>
- </section>
- <section id="fellows">
- <h2>Fellows wanted dead (or alive if you want to eat them later)</h2>
- </section>
- <section id="article">
- <article></article>
- <article></article>
- <article></article>
- </section>
- <form>
- <h2>Contact us</h2>
- <input type="email" placeholder="@">
- <input type="text" placeholder="⌂">
- <input type="text" placeholder="I have seen one of them">
- <textarea placeholder="Your message"></textarea>
- </form>
- </body>
- </html>
- ------------------------------------------------------------------
- **css**
- *{
- color: #575757;
- }
- nav {
- background-color: #333130;
- height: 25px;
- margin-top: -16px;
- }
- ul{
- padding-top: 1px;
- }
- li {
- display: inline;
- padding: 15px;
- color: white;
- }
- li:hover{
- background-color: #DEDEDE;
- color: black;
- }
- .carousel{
- box-sizing: content-box;
- width: 100%;
- height: 200px;
- background-color: #DEDEDE;
- }
- section h2{
- text-align: center;
- }
- article{
- display: inline-block;
- width: 31%;
- height: 300px;
- margin: 0px 10px 0px 10px;
- background-color: #DEDEDE;
- }
- form{
- text-align: center;
- }
- form h2{
- border-top: 2px solid #575757;
- text-align: left;
- }
- input{
- position: relative;
- left: 50%;
- transform: translate(-50%, -50%);
- display: block;
- margin-bottom: 5px;
- width: 90%;
- height: 10px;
- }
- textarea{
- width: 90%;
- height: 100px;
- }
- @media (max-width: 960px){
- .carousel{
- display: none;
- }
- #article{
- display: none;
- }
- section h2{
- font-size: 200%
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement