Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed CSS Layout!
You have completed CSS Layout!
Preview
With the content and padding areas defined, let's style the border area of our box. There are three properties we’ll use to create and style borders.
Further reading
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
There are three properties we'll
use to create and style borders.
0:00
First, we can set the
width of a border.
0:02
We do that with the
border-width property.
0:05
We can define the border width value
with any length or percentage units,
0:10
or choose from three keyword
values: thin, medium and thick.
0:15
I'm going to go with 12 pixels
for my border. When you preview
0:21
your page in the browser,
no border shows up yet.
0:26
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up