Re:Design for Developers
by chrisdroukas on Monday November 28, 2011 @09:24AM
(#3285950)
That makes more sense if the gradient is radial. For a linear gradient, inversion gives the appearance of a changing light source - just like the example given shows.
A radial gradient, on the other hand, might more typically assume an 'oveerhead' light, which is why inversion makes sense.
For me the linear gradient hints that the surface is curved on one axis, i.e. is cylindrical, not spherical.
Of course the context plays a role too on the perceived illusion; the appearance of changing light source may be stronger for lonely button (vs. group of elements sharing the same light source).
"Just flipping the gradient direction is the equivalent of the environment light changing direction when you hover over/click a button, this makes zero sense."
Inverting the gradient for pressed down button can also be seen as a convex surface becoming concave; think a membrane button. (A flat button wouldn't have such a gradient.)
While that kind of "faux membrane" buttons are not very common in real world, the inverted gradient effect immediately gives me feeling of "popped in" button. Am I alone here?