Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HTML:
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>Document</title>
- <link rel="stylesheet" href="test.css" type="text/css">
- </head>
- <body>
- <div class="container">
- <section class="image"><img src="plane.png" alt="plane"></section>
- <section class="text">
- <h2>About</h2>
- <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Libero dolorem est illum nulla molestias esse suscipit accusantium expedita, omnis harum facere dolor aperiam corrupti. Nulla nostrum laborum mollitia blanditiis voluptatum.</p>
- </section>
- </div>
- </body>
- </html>
- CSS - test.css
- body{
- background-color: black;
- }
- .container{
- display: flex;
- color: white;
- }
- .text{
- margin-top: 50px;
- }
- //@derviswebdev
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement