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 trialJose L. Camacho
4,972 PointsWhen you are making a background shorthand do the values have to be in a specific order ?
Such as
background: (color) (image-location) (position) (repeat) (size)
also what do the forward slashes do?
2 Answers
Caleb Kleveter
Treehouse Moderator 37,862 Pointscharlottealliss , what happens if I change the order?
Keith Corona
9,553 PointsWhat happens if one of the values is missing, for example, image?
charlotte22
1,209 Pointscharlotte22
1,209 PointsHi there, the order is:
e.g. background: #ff00ff url("image.jpg") no-repeat top