> All in One 586: Make a smooth shadow, friend.

Ads

Thursday, December 19, 2019

Make a smooth shadow, friend.

One box-shadow is cool and all, but check out Philipp Brumm's tool for building out comma-separated multiple box-shadows, which result in a much smoother and more natural look.

This reminds me very much of the idea for easing linear-gradient. In a gradient, this smoothing effect is handled by multiple stops with the position and color eased (sloped) rather than linear (straight). The result is noticeably smoother and a more pleasing look.

See the Pen
smooth box-shadow
by Chris Coyier (@chriscoyier)
on CodePen.

Direct Link to ArticlePermalink

The post Make a smooth shadow, friend. appeared first on CSS-Tricks.



from CSS-Tricks https://ift.tt/383B7vE
via IFTTT

No comments:

Post a Comment

Partly Cloudy today!

With a high of F and a low of 16F. Currently, it's 24F and Mostly Cloudy outside. Current wind speeds: 8 from the West Pollen: 0 ...