Creating Shadows with Pseudo-Elements
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...
blog.ramseynjire.me10 min read