Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <style>
- body {
- background-image: url('https://cmkt-image-prd.global.ssl.fastly.net/0.1.0/ps/3651364/910/607/m2/fpnw/wm1/u83vdlbeuhxum59xmve0ss7ofunskgwuzbhwzj8bpenklblk5wvhtjxas0nly2r2-.jpg?1511859261&s=8eb0cb8c74bdbf22f1558451e05cba01');
- background-repeat:no-repeat;
- background-attachment: fixed;
- background-size: cover;
- }
- nav img {
- border: 1px solid black;
- width: 50px;
- }
- nav {
- display:flex;
- justify-content: space-between;
- align-items: center;
- margin: 0 50px;
- background-color:white;
- }
- a {
- text-decoration:none;
- margin-left: 10px;
- }
- section {
- max-width: 500px;
- min-height: 600px;
- margin: 20px auto;
- background-color: white;
- border: 1px solid black;
- }
- .img2 {
- max-width:200px;
- height: 150px;
- background-color: lightgreen;
- }
- section .img2, h2 {
- float:left;
- }
- h2 {
- margin: 35px 100% 15px 20px;
- }
- footer {
- padding: 10px;
- text-align: center;
- background-color: white;
- }
- </style>
- </head>
- <body>
- <nav>
- <img src=''>
- <div>
- <a href='#'>Link1</a>
- <a href='#'>Link1</a>
- </nav>
- <div>
- <main>
- <section>
- <h2>Pavadinimas <span>LABAI</span></h2>
- <div class='content'>
- <form>
- <label for='vardas'>Vardas</label>
- <input type="text" name="name" id=''vardas>
- <label for='elpastas'>El. pastas</label>
- <input type="email" name="email" id=''email>
- <label palceholder='12345678' id='numbers' require>Iki kontroles numeris</label>
- <input type="number" name="number" id='numbers'>
- <label for='zinute'>Zinute</label>
- <textarea palceholder='Jusu laiskas mums..' id='zinute'></textarea>
- <input type="submit" value="Siusti">
- </form>
- </div>
- </section>
- </main>
- <footer>
- Copy right @
- </footer>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment