JSFiddle - React, Tailwind, and code Playground

HTML

<div>
<img src="http://www.fillmurray.com/150/100">
<img src="http://www.fillmurray.com/150/150">
<img src="http://www.fillmurray.com/150/150">
<img src="http://www.fillmurray.com/150/150">
</div>

SCSS

div {
  background-color: #66BB66;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: fixed;
  width: 100%;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;

  img:nth-child(1) {
    position: absolute;
  }    

  img:nth-child(2) {
    margin-right: auto;
  }
  img:last-of-type {
    margin-left: auto;
  }
}