New! My 44-page ebook "CSS in 44 minutes" is out! 😃

Get it now →

#border-top-width

Like border-width, but for the top border only.

default border-top-width: 0;

Removes the top border.

border-top-width: 4px;

You can use pixel values.