Home
CSS
CSS Masking
Tryit: Use a linear gradient as the mask layer
Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Save Code
Ctrl+Alt+A
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
The mask-image Property
A linear gradient as a mask layer:
Original image: