Creating Shadows with Pseudo-Elements
Mar 3, 2022 · 10 min read · Using Pseudo-Elements for Box Shadows What if I wanted a box-shadow with a linear gradient? I can add a color to the box-shadow property, but I can't define a linear gradient on it. A would work, but not B: A: { /* offset-x | offset-y | blur-radius...
Join discussion

