<div id="app">
  <div class="navbar">
    <div>item 1</div>
    <div>item 2</div>
    <div class="pull-right">item 3</div>
    <div>item 4</div>
  </div>
</div>
.navbar {
  background-color: cadetblue;
  display: flex;
  align-items: center;
}
.navbar > div {
  padding: 1em;
}
.navbar .pull-right {
  margin-left: auto;
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.