<div class="container header">
  <div class="item left">
    Left item
  </div>
  <div class="item center">
    Center item
  </div>
  <div class="item right">
    Right navigation
  </div>
</div>
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body {
  margin: 0;
  font-family: sans-serif;
}

.header {
  background-color: #995DB6;
  padding: 10px 20px;
  height: 50px;
}

.item{
  background-color: #F7964A;
  padding: 5px 10px;
  border-radius: 3px;
  border: 1px solid black;
}

.center {
  font-size: 1.5rem;
}

.left {
  font-size: .8rem;
}

.right {
  font-size: 1.2rem;
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.