This is faking a shadow as it would come from a point light placed above the bottom left corner of the box.
No-Library (pure JS), HTML, SCSS, JavaScript
No-Library (pure JS), HTML, CSS, JavaScript
Third approach to a blended background image.