Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- margin: 0px;
- }
- .parent {
- display: flex;
- background-color: yellow;
- width: 100px;
- }
- .one {
- width: 50px;
- background-color: red;
- height: 100px;
- flex-grow: 1;
- }
- .two {
- width: 50px;
- background-color: blue;
- height: 100px;
- flex-grow: 2;
- }
- .three {
- width: 50px;
- background-color: green;
- height: 100px;
- flex-grow: 3;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement