Border radius

Stacks provides atomic classes for border radius.

Classes

AbbreviationOutputDefinitionResponsive?
.bar0border-radius: 0Apply a border radius of 0 to all cornersYes
.btlr0border-top-left-radius: 0Apply a border radius of 0 to the top left corner
.btrr0border-top-right-radius: 0Apply a border radius of 0 to the top right corner
.bblr0border-bottom-left-radius: 0Apply a border radius of 0 to the bottom left corner
.bbrr0border-bottom-right-radius: 0Apply a border radius of 0 to the bottom right corner
.btr0border-top-left-radius: 0; border-top-right-radius: 0Apply a border radius of 0 to the top corners
.brr0border-top-right-radius: 0; border-bottom-right-radius: 0Apply a border radius of 0 to the right corners
.bbr0border-bottom-left-radius: 0; border-bottom-right-radius: 0Apply a border radius of 0 to the bottom corners
.blr0border-bottom-left-radius: 0; border-top-left-radius: 0Apply a border radius of 0 to the left corners
.bar-mdborder-radius: 10pxApply a border radius of 10px to all corners
.btlr-mdborder-top-left-radius: 10pxApply a border radius of 10px to the top left corner
.btrr-mdborder-top-right-radius: 10pxApply a border radius of 10px to the top right corner
.bblr-mdborder-bottom-left-radius: 10pxApply a border radius of 10px to the bottom left corner
.bbrr-mdborder-bottom-right-radius: 10pxApply a border radius of 10px to the bottom right corner
.btr-mdborder-top-left-radius: 10px; border-top-right-radius: 10pxApply a border radius of 10px to the top corners
.brr-mdborder-top-right-radius: 10px; border-bottom-right-radius: 10pxApply a border radius of 10px to the right corners
.bbr-mdborder-bottom-left-radius: 10px; border-bottom-right-radius: 10pxApply a border radius of 10px to the bottom corners
.blr-mdborder-bottom-left-radius: 10px; border-top-left-radius: 10pxApply a border radius of 10px to the left corners
.bar-pillborder-radius: 1000pxApply a border radius of 1000px to each corner for a 100% rounding of the left and right corners
.bar-circleborder-radius: 100%Apply a border radius of 100% to each corner for a circular appearance

Examples

All corners

<div class="bar0"></div>
<div class="bar-md"></div>
<div class="bar-circle"></div>
<div class="bar-pill"></div>
.bar0
.bar-md
.bar-circle
.bar-pill

Top left corner

<div class="btlr0"></div>
<div class="btlr-md"></div>
.btlr0
.btlr-md

Top right corner

<div class="btrr0"></div>
<div class="btrr-md"></div>
.btrr0
.btrr-md

Bottom right corner

<div class="bbrr0"></div>
<div class="bbrr-md"></div>
.bbrr0
.bbrr-md

Bottom left corner

<div class="bblr0"></div>
<div class="bblr-md"></div>
.bblr0
.bblr-md

Top corners

<div class="btr0"></div>
<div class="btr-md"></div>
.btr0
.btr-md

Bottom corners

<div class="bbr0"></div>
<div class="bbr-md"></div>
.bbr0
.bbr-md

Left corners

<div class="blr0"></div>
<div class="blr-md"></div>
.blr0
.blr-md

Right corners

<div class="brr0"></div>
<div class="brr-md"></div>
.brr0
.brr-md