Above Previous Element's Background

Published: March 8, 2020

How to make the element seem to be above the previous element's background color? You don't want to use negative margins, as they can lead to errors later on. Using box-shadow to extend the background color creates a nice effect.

box-shadow: 0 70px 0 #1ce;

See the result above the title.