Better Box Shadows (CSS)
uglyduck.ca
Better Box Shadows (CSS)
1–10 of 60 posts
Re: Better Box Shadows (CSS)
#2Re: Better Box Shadows (CSS)
#3Re: Better Box Shadows (CSS)
#4What I'd like to see is browser engines converge on identical box shadow rendering. Currently shadows tend to be more pronounced in Firefox relative to WebKit.
Re: Better Box Shadows (CSS)
#5Your website is gorgeous.
Re: Better Box Shadows (CSS)
#6Pure CSS box shadows without extra markup can be achieved with using negative spread (with increased blur to compensate) and multiple shadows. I believe it allows to achieve the exact look the author demonstrates at the end. What I'd like to see is browser engines converge on identical box shadow rendering. Currently shadows tend to be more pronounced in Firefox relative to WebKit.
Re: Better Box Shadows (CSS)
#7Re: Better Box Shadows (CSS)
#8Re: Better Box Shadows (CSS)
#9Re: Better Box Shadows (CSS)
#10If you apply two gaussian blurs, you're multiplying two gaussian functions in the frequency domain. The product of two gaussian functions is another gaussian function, so the same effect can be accomplished more efficiently with a single gaussian blur. You just need to tweak the shadow opacity and blur radius.