Border Width

The Telerik and Kendo UI Border Utilities enable you to change the border settings of an element.

Border Width

The Telerik and Kendo UI Border Width Utilities are a collection of CSS classes that enable you to control the border width of an element.

Utility ClassCSS Property
.k-border-y-8border-block-width: 8px;
.k-borderborder-width: 1px;
.k-border-0border-width: 0;
.k-border-2border-width: 2px;
.k-border-4border-width: 4px;
.k-border-8border-width: 8px;
.k-border-tborder-top-width: 1px;
.k-border-t-0border-top-width: 0px;
.k-border-t-2border-top-width: 2px;
.k-border-t-4border-top-width: 4px;
.k-border-t-8border-top-width: 8px;
.k-border-rborder-right-width: 1px;
.k-border-r-0border-right-width: 0px;
.k-border-r-2border-right-width: 2px;
.k-border-r-4border-right-width: 4px;
.k-border-r-8border-right-width: 8px;
.k-border-bborder-bottom-width: 1px;
.k-border-b-0border-bottom-width: 0px;
.k-border-b-2border-bottom-width: 2px;
.k-border-b-4border-bottom-width: 4px;
.k-border-b-8border-bottom-width: 8px;
.k-border-lborder-left-width: 1px;
.k-border-l-0border-left-width: 0px;
.k-border-l-2border-left-width: 2px;
.k-border-l-4border-left-width: 4px;
.k-border-l-8border-left-width: 8px;
.k-border-xborder-inline-width: 1px;
.k-border-x-0border-inline-width: 0px;
.k-border-x-2border-inline-width: 2px;
.k-border-x-4border-inline-width: 4px;
.k-border-x-8border-inline-width: 8px;
.k-border-yborder-block-width: 1px;
.k-border-y-0border-block-width: 0px;
.k-border-y-2border-block-width: 2px;
.k-border-y-4border-block-width: 4px;

Applying Width to All Sides

Use the k-border, k-border-0, k-border-2, k-border-4, and k-border-8 utilities to apply the different border width sizes to an element.

Applying Width to Individual Sides

Use the k-border-{side}, k-border-{side}-0, k-border-{side}-2, k-border-{side}-4, and k-border-{side}-8 utilities to apply a different border width size to one side of an element. Replace {side} with the desired side of the element, for example, use k-border-l to set the border width of the left side.

Applying Width to the Left and Right Sides

Use the k-border-x, k-border-x-0, k-border-x-2, k-border-x-4, and k-border-x-8 utilities to apply a different border width size to the left and right sides of an element.

Applying Width to the Top and Bottom Sides

Use the k-border-y, k-border-y-0, k-border-y-2, k-border-y-4, and k-border-y-8 to apply a different border width size to the top and bottom sides of an element.

Feedback