💥 2026 New Year's Sale 💥 Take 50% off your first 6 months! (new subscribers only, renews at regular price).

Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Explore
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • David Ragnarsson
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    David Ragnarsson
    Front End Web Development Techdegree Student 8,003 Points

    The second box shadow's horizontal offset needs to be 0. (I thought the second zero after inset already did that).

    Posted October 10, 2022 10:59am by David Ragnarsson
    .a{fill-rule:evenodd;}techdegree
    David Ragnarsson
    Front End Web Development Techdegree Student 8,003 Points
    • CSS
    • Enhancing Design with CSS
    • Styling Boxes
    • Box Shadows

    1 Answer

  • Fidelis Chime
    Fidelis Chime
    6,077 Points

    box -shadow

    Posted October 4, 2022 12:36pm by Fidelis Chime
    Fidelis Chime
    6,077 Points
    • CSS
    • Enhancing Design with CSS
    • Styling Boxes
    • Box Shadows

    2 Answers

  • Albert Almonte
    Albert Almonte
    1,824 Points

    Create a rule that targets .main-header. This time, we'll give .main-header a box shadow. Set the box shadow's horizonta

    Posted January 18, 2022 7:36pm by Albert Almonte
    Albert Almonte
    1,824 Points
    • CSS
    • Enhancing Design with CSS
    • Styling Boxes
    • Box Shadows

    1 Answer

  • Gail Mukungurutse
    Gail Mukungurutse
    1,844 Points

    .main-header { box-shadow: 0 2px 15px #aaa, insert 0 0 60px 5px firebrick; }

    Posted November 15, 2021 11:29am by Gail Mukungurutse
    Gail Mukungurutse
    1,844 Points
    • CSS
    • Enhancing Design with CSS
    • Styling Boxes
    • Box Shadows

    3 Answers

  • Jesse Phea
    Jesse Phea
    3,126 Points

    My second set of box-shadow values is set to 0 horizontal offset ,but the system says I am wrong.

    Posted June 9, 2021 4:43pm by Jesse Phea
    Jesse Phea
    3,126 Points
    • CSS
    • Enhancing Design with CSS
    • Styling Boxes
    • Box Shadows

    1 Answer

  • Shivon Kunondjo Hindjou
    Shivon Kunondjo Hindjou
    1,402 Points

    where have i gone wrong here??????please help

    Posted May 28, 2021 9:21am by Shivon Kunondjo Hindjou
    Shivon Kunondjo Hindjou
    1,402 Points
    • CSS
    • Enhancing Design with CSS
    • Styling Boxes
    • Box Shadows

    1 Answer

  • Sabrina Fortune
    Sabrina Fortune
    1,351 Points

    Just like the text-shadow property, the box-shadow can take multiple comma-seperated values to add additional shadows to

    Posted May 17, 2021 3:26pm by Sabrina Fortune
    Sabrina Fortune
    1,351 Points
    • CSS
    • Enhancing Design with CSS
    • Styling Boxes
    • Box Shadows

    1 Answer

  • Alana Warson
    Alana Warson
    5,296 Points

    Let's give .main-header an inner-shadow with a second set of box shadow values. Set the new shadow's horizontal and ver

    Posted March 2, 2021 10:39pm by Alana Warson
    Alana Warson
    5,296 Points
    • CSS
    • Enhancing Design with CSS
    • Styling Boxes
    • Box Shadows

    1 Answer

  • Zeke Swanson
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Zeke Swanson
    Web Development Techdegree Student 8,301 Points

    Am I missing something?

    Posted February 15, 2021 4:11am by Zeke Swanson
    .a{fill-rule:evenodd;}techdegree
    Zeke Swanson
    Web Development Techdegree Student 8,301 Points
    • CSS
    • Enhancing Design with CSS
    • Styling Boxes
    • Box Shadows

    1 Answer

  • Ronald Greer
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Ronald Greer
    Front End Web Development Techdegree Graduate 56,430 Points

    What am i doing wrong here?

    Posted February 14, 2021 8:36pm by Ronald Greer
    .a{fill-rule:evenodd;}techdegree seal-36
    Ronald Greer
    Front End Web Development Techdegree Graduate 56,430 Points
    • CSS
    • Enhancing Design with CSS
    • Styling Boxes
    • Box Shadows

    1 Answer

  • Nyanko Kamaboko
    Nyanko Kamaboko
    4,102 Points

    My code doesn't seem to be working. Am I missing something simple or is this code actually correct?

    Posted January 29, 2021 6:58am by Nyanko Kamaboko
    Nyanko Kamaboko
    4,102 Points
    • CSS
    • Enhancing Design with CSS
    • Styling Boxes
    • Box Shadows

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2026 Treehouse Island, Inc.