Edit in JSFiddle

<div class="container">
  <div class="sidebar">sidebar(0.2)</div>
  <div class="content">content(0.4)</div>
</div>
.container {
  display: flex;
  height: 100vh;
}

.sidebar, .content {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 0 10px;
}

.sidebar {
  background: gray;
  flex-grow: 0.2;
}

.content {
  flex-grow: 0.4;
  background: lightblue;
}