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 trialKieran Gibbons
17,434 PointsHelp im stuck on one of the CSS questions involving box-shadows, task 2 of 4 on the challenges.
Q.Next, create a new rule that targets .title. Let's also give .title a text shadow by setting the horizontal offset to 1px, the vertical offset to 3px, the blur radius to 0, and the color to #e59740.
I'm getting the error that i need to shadows horizontal offset to 1px which i have done. My code for it is: .main-heading{ text-shadow:0 0 5px #be7b31; } .title { text-shadow:1px 3px 0 #e59740; }
1 Answer
Joshua Veazey
6,190 PointsHi Kieran Gibbons, your text-shadow declaration block for the .title class has a minor error. The shadow color can be listed first or right after the offset-Y’s value. The code you have posted, it looks like you have the shadow color after the blur-radius value. I hope this helps.
Kieran Gibbons
17,434 PointsKieran Gibbons
17,434 PointsNever mind, for some reason it worked when i put a space before the first rule.