css with left and right

by mslocum

HTML

<div class="parent">
  <div class="left_and_right">

  </div>
</div>

CSS

.parent {
  background: #5187ef;
  height: calc(100vh - 20px);
  position: relative;
}
.left_and_right {
  background: #e86e00;
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 20%;
}