Creating Shadows with Pseudo-ElementsUsing 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...Mar 3, 2022·10 min read·1.9K