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

Text Shadow

I have run into a complication.

Create a text shadow for the h1 using a horizontal offset of 0, a vertical offset of 2px, a blur radius of 6px, and shadow color with the HEX value 3E6AA8.

Any help at all?

2 Answers

Keith Kelly
Keith Kelly
21,326 Points

I think this is what you are looking for:

h1 {
   text-shadow: 0 2px 6px #3E6AA8;
}

in the text-shadow property the first number is the horizontal offset, the second is the vertical offset, the third is the blur, then you end with the color.

Thanks Keith,

I thought I wrote the exact same thing but I must of got something wrong somewhere.

Thanks for the help.