fbpx

A tip on shadows

Use two shadows.

The first is a larger and softer shadow. It simulates the shadow cast behind an object by a direct light source.

The second shadow is tighter and darker. It simulates the extra dark shadow directly beneath an object where light finds it hard to reach.

Using two shadows as opposed to just one gives you more control on how you can make your shadow look more realistic.

From Refactoring UI book.

Leave a Reply

Your email address will not be published. Required fields are marked *