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

W3C Information on Box-shadow

The W3C inforamtion on box-shadows shows inset at the end of the rule. Is this also valid?

2 Answers

Sara Mote
Sara Mote
8,053 Points

Hi Nathaniel!

Just wanted to add this link, as the instant visual examples really helped me better understand the various box-shadow options outlined on the W3C.

http://www.cssmatic.com/box-shadow

Ross Horak
Ross Horak
20,890 Points

That's a great resource thanks Sara!

Mohsin Ayub
Mohsin Ayub
6,822 Points

Yes it is valid. The inset keyword can be at the start or at the end of the rule but not at the middle.