Inner text shadow with CSS

Posted by eteubert on Stack Overflow See other posts from Stack Overflow or by eteubert
Published on 2010-05-22T19:34:17Z Indexed on 2010/05/22 19:40 UTC
Read the original article Hit count: 371

Filed under:
|
|

Hey Folks,

I am currently playing around with CSS3 and trying to achieve a text effect like this (the black blurry inner shadow):

alt text

But I cannot find a way to create text shadows inside the text. I wonder whether it is still possible because the box-shadow element is able to render shadow inside like this:

box-shadow: inset 0px -5px 10px 0px rgba(0, 0, 0, 0.5);

Any ideas?

© Stack Overflow or respective owner

Related posts about css

Related posts about text