<div class="container"></div>
.container { width: 100%; height: 100%; background: lightblue; position: relative; overflow: hidden; } .container::before { content: ""; position: absolute; top: -50%;