CSS border-top-width

Previous Next

Demo of the different values of the border-top-width property.

Click the property values below to see the result:

border-top-width: thin;
border-top-width: medium;
border-top-width: thick;
border-top-width: 1px;
border-top-width: 10px;
border-top-width: 20px;
A demonstration on different thickness of the top border.
A demonstration on different thickness of the top border.
A demonstration on different thickness of the top border.
A demonstration on different thickness of the top border.
A demonstration on different thickness of the top border.
A demonstration on different thickness of the top border.

Play more with the code in our Tryit yourself editor: Try it Yourself ❯