Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .hero_image {
- min-height: 100vh;
- background-color:yellow;
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
- }
- .main {
- max-width:500px;
- margin:0 auto;
- padding:0 50px;
- background-color:pink;
- }
- <div class="hero_image">
- <div class="main">
- <h1>Heading <br>couple of words</h1>
- </div>
- </div>
- <div class="main">
- <p>Lots of content</p>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement