<!DOCTYPE html>
<style>
.container {
  margin: 20px 0;
  border: solid 2px;
  width: 100px;
}

.pink {
  background: hotpink;
}
</style>

<div class="container">
  <div class="pink" style="width: 50px; height: 100px;"></div>
</div>

<div class="container">
  <div class="pink" style="width: 100px; height: 100px;"></div>
</div>
