3 ms·
Having a fixed "light position" at top / top-left isn't the only way of getting a mild sunk / popped effect. Using internal and external shadows can get much of
by barrkel 9y ago
Having a fixed "light position" at top / top-left isn't the only way of getting a mild sunk / popped effect. Using internal and external shadows can get much of the same effect in a way that doesn't have a fixed direction.
- amelius 9y agoGood point. But external shadows pose a problem: pixels outside the original bounding box of the element need to be painted, and may overlap with other elements.