Man, this is awesome!
Can you make them not to extend the width of the button?
The light is coming from the very top, it shouldn't produce shadow on the sides.
you can fool around a bit with the multiple box shadows and improve it, but i don't believe you can achieve the exact same result using only box shadows. maybe using :before or :after pseudo-classes. don't really know.
seems to me you have some sort of vertical fading mask on the bottom.
3 Responses
trying to copy your wonderful shadows, with CSS3.
10 months ago
Pro
Joao Pires
Man, this is awesome!
Can you make them not to extend the width of the button?
The light is coming from the very top, it shouldn't produce shadow on the sides.
10 months ago
you can fool around a bit with the multiple box shadows and improve it, but i don't believe you can achieve the exact same result using only box shadows. maybe using :before or :after pseudo-classes. don't really know.
seems to me you have some sort of vertical fading mask on the bottom.
10 months ago