Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <style>
- .row {
- background-color:hsla(20, 50%, 50%, 1);
- display: flex;
- flex-direction:row;
- }
- .begin {
- align-self: flex-start;
- }
- .middle {
- align-self: center;
- }
- </style>
- </head>
- <body>
- <div class="row">
- <p class="begin"> first</p>
- <p class="middle">second</p>
- </div>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement