3 ms·
So you use a negative spread-radius to make the shadow more narrow than the box. Cool!
by thomasahle 6y ago
So you use a negative spread-radius to make the shadow more narrow than the box. Cool!
- Zecar 6y agoThe only problem with this (and it is infuriating) is that while Chrome and Firefox render box positive box-shadow values identically, they differ substantially with negative values. As a result, to get matching shadows you will need to use browser-specific shadows.