Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

This code isn't working on my browser. I'm not sure if I'm writing it wrong. {text-shadow: 0 0 5px 10px black;}

I think it is the spread value, how do I get that to work, because if I take it out and have {text-shadow: 0 0 5px black;} it shows up but when I add the 10px spread that I want the shadow disappears alltogether

what about the spread value though to expand the size of the shadow?

1 Answer

Rich Donnellan
MOD
Rich Donnellan
Treehouse Moderator 27,741 Points

Michael,

You specified too many values. The proper syntax is:

/* offset-x | offset-y | blur-radius | color */
text-shadow: 0 5px 10px black; 

Next time, try a web search on box-shadow syntax (or whatever) to troubleshoot your issue. It's more rewarding squashing these bugs for yourself.

Check out the Mozilla Developer Network (MDN) for a plethora of information on web "stuffs".

Hope this helps!

-Rich