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 trialOmar Suriel
5,403 Pointsdoes the order of the values in the shorthand background property matter at all?
Does the order of the values in the shorthand background property matter at all?
Does it make any difference at all or is the a reason why he set the values in that order?
2 Answers
Jason Anders
Treehouse Moderator 145,860 PointsHey Omar,
My apologies. I have deleted my original post as it was in error.
The order does matter for Background, I was thinking of the shorthand for Borders. Also for Background, you can omit some values (as the default will just be assigned). Have a look at here for a basic explanation.
Alexander Davison
65,469 PointsI think the order does matter, however I'm not sure (I don't use CSS like every day)
Omar Suriel
5,403 PointsOmar Suriel
5,403 PointsThanks a lot!