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 trialja5on
10,338 Pointshow to add more border px's?
border: 1px solid #000; is a good guide but say I wanted to add more like below:-
border: 1px 2px 4px 1px;
How then would I use solid #000?
border: 1px 2px 4px 1px solid #000; this does not work.
border-width: 1px 2px 4px 1px;
border-style: solid;
border-color: #000;
So I'm guessing there's no shortcut here.
1 Answer
Josué Rodriguez
Front End Web Development Techdegree Graduate 24,118 PointsFrom a quick google search it seems you can write it in two lines.
border: solid #000;
border-width: 1px 2px 4px 1px;