<div class="container">
  <div class="box"></div>
  <div class="box positioned"></div>
  <div class="box"></div>
</div>
.positioned.box {
  position: absolute;
  left: 0px;
  bottom: 0px;
}

.container {
  position: relative;
}

/* Base styles */

.positioned.box {
  background: lightcoral;
}

.box {
  width: 100px;
  height: 100px;
  display: inline-block;
  background: lightblue;
}

.container {
  padding: 40px;
  width: max-content;
  border: 1px solid lightcoral;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

html, body {
  height: 100%;
  margin: 0;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.