tags:

views:

101

answers:

4

Is it possible to get cut out text effect like this using CSS/CSS3 only? or image is the only option to get this effect.

alt text

+1  A: 

You can use the text-shadow style to set a shadow for the top left corner. It will look close to what you are looking for, but as far as I know there is no way to do exactly what you are looking for in CSS/CSS3

Samuel
+3  A: 

text-shadow is your friend. See this page for lots of examples what you can achieve with it. Example #8 looks promising.

Aaron Digulla
+1 Thanks for the link
metal-gear-solid
This will come in handy for me too someday! Thanks! +1
Tom
A great link - thanks for sharing.
Ken Ray
A: 

What you really need for that particular effect is inset:

    text-shadow: inset #000 0 0 0.10em; /* THIS DOESN'T WORK */

Unfortunately: " is the same as defined for the ‘box-shadow’ property except that the ‘inset’ keyword is not allowed."

robertc
A: 

Yes you can achieve this effect with CSS and text, but it's a little insane. Basically you create a bunch of grey-zero css3 radial and linear gradients with a zero opacity and carefully position them over your text. But you'd be better off doing this in photoshop.

Michael Mullany