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 CSS Basics (2014) Enhancing the Design With CSS Text Shadows

text-shadow not working

I cannot get the text shadow to appear for h1. Here is the code:

h1 {
font-size: 5.625rem; /* 90px/16px */ color: rgba(255, 255, 255, 1); text-transform: uppercase; font-weight: normal; line-height: 1.3; text-shadow: 0 1px 1px rgba(0,0,0 .8); }

Can't seem to figure out the issue.

1 Answer

Wolfgang Warneke
Wolfgang Warneke
10,845 Points

You just need a comma after that third zero in the rgba text-shadow: 0 1px 1px rgba(0,0,0, .8);

I made exactly the same mistake so thanks for that :)