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 trialroyalcompass
4,758 PointsCan you use multiple border colors for each side ?
When you are using the border short hand property? Or are you limited to just one color when using the border shorthand property?
4 Answers
Tyler Jackson
3,100 PointsYou can use the border-color shorthand rule.
Example: border-color: red black blue green;
Will color the border as follows. Top:red, right:black, bottom:blue, and left:green
This also works with border-style, and border-width.
royalcompass
4,758 Pointsok awesome I was just making sure it wouldnt be something like
border: 1px solid blue red green yellow;
I appreciate you taking the time to answer .
Tyler Jackson
3,100 PointsGlad I could help. :-)
Brandon Kern
8,433 PointsThat's good to know because I didn't know that, either. :D
royalcompass
4,758 PointsMan I see you are really flying through the courses! Congrats on being part of the community!
royalcompass
4,758 PointsI sent you a request on facebook maybe we can help each other out sometime!
Brandon Kern
8,433 PointsThank you. I just started coding on Code Academy but the lessons were short and touched on the basics with little explanation so it wasn't that helpful. Scoured Google and found this site and I've basically fallen in love with coding. It's really fun and only wish I had found this place sooner.
Facebook request accepted, although as I'm relatively new to coding I'm not sure how much help I can be, but I'll all for trying.