Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS

Drew Purdy
PLUS
Drew Purdy
Courses Plus Student 2,930 Points

having problems with this question can someone point me in the right direction

Just like the text-shadow property the box-shadow can take multiple comma-seperated values to add additional shadows to the same element. Let's give .main-header an inner-shadow with a second set of box-shadow values. Set the new shadow's horizontal and vertical offsets to 0, the blur radius to 60px, the spread radius to 5px, and the color to firebrick. Don't forget to include the keyword value that creates an inner box shadow.

1 Answer

Ezra Siton
Ezra Siton
12,644 Points

Hi. In the future its better to:

  • Add more semantic meaning title to your Q ("How to use text-shadow...bla bla")...."having problems" its to general.
  • Add your code example
.main-header {
  box-shadow: 
/* "first set of box-shadow */
0 2px 15px #aaa,
/* "second set of box-shadow values" - seperate by comma */
/* inset keyword | offset-x | offset-y | blur-radius | spread-radius | color */
              inset 0 0 60px 5px firebrick;
}

https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow