<div class="parent">
  <div class="child">
    It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.
  <div class="child">Contrary to popular belief, Lorem Ipsum is not simply random text.</div>
  <div class="child">
    Lorem Ipsum is simply dummy text.
.parent {
  display: flex;
  align-items: flex-start;

.child {
  flex-grow: 1;
  flex-basis: 0;
/* --------- Non-flexbox related styles --------- */
.parent > div {
  margin: 2%;
  padding: 10px;
  font-size: 16px;
  line-height: 24px;
  color: #ffeedf;
  background-color: #eab768;
  border-radius: 10px;
  border: 10px solid #f5cc8b;

body {
  padding: 20px;
  background-color: #282c35;
  font-family: Verdana;

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.