Click here to navigate the course.

Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Code Editor
Web Browser

Border Width II

What if you don't want the border thickness to be the same on all four sides?

In that case, another version of the border-width property allows you to specify the width for each side of the border.

p { border-style: solid; border-width: 3px 1px 2px 1px; }

The values in the example above refer to the border width in clockwise order (top: 3 pixels, right: 1 pixel, bottom: 2 pixels, left: 1 pixel).

Report a Bug
If you see a bug or any other issue with this page, please report it here.