Masking in CSS is one way to hide parts of the element and show others. Another is clip-path, but let’s not focus on that today. “Masks are images; Clips are paths” is one way to think about the difference…
clip-path
See All 211 Episodes of "CSS-Tricks Screencasts"