← CSS mask-image Explained: Fade Edges Without Gradient Divs
Playground

mask-image vs. gradient-overlay div — interactive playground

preview

Edits run in a sandbox in your browser — nothing is saved and nothing leaves the page.