smashing-ebook-8

(Grace) #1

Gradients


Gradients are a great way to add life-like lighting and shading to surfaces.
When built with gradient layers and layer styles, they also ensure that UI
elements can be scaled and reused easily.


Linear Gradients


Linear gradients are gradients in their most basic form — a gradual blend
of colors and following a straight line. I’m sure you knew that, so onto the
more interesting stuff.


Reflected Gradients


Reflected gradients are like their linear friends, but they repeat the gradient
twice, with the second repeat mirrored. This makes editing a little less
tedious, provided it fits the result you’re after.

Free download pdf