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 Box Shadows

Mark Nichols
Mark Nichols
5,456 Points

Shadows not working.

Text works with x/y/color (horizontal, vertical, color) values but spread and blur values cause it to go back to default text (shadows are removed). Border shadow's are not showing up at all for the .wildlife div.

Here is an example of the code I'm using on my CSS (This property IS within the .wildlife element's curly brackets) box-shadow: inset 0px 0px 5px rgba(0,0,0 1);

I have made no other modifications to the code and I am using the workspace provided by this lecture. Any thoughts?

1 Answer

Miroslav Kovac
Miroslav Kovac
11,454 Points

You should put ',' comma characters between blue and transparency parameter in rgba function

box-shadow: inset 0px 0px 5px rgba(0,0,0,1);