<div class="flex">W3TR</div>
.flex{
width: 200px;
height: 200px;
display: -webkit-flex; /* Safari */
display: flex;
background: red;
color: white;
-webkit-flex-grow: 5;
flex-grow: 5;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.