Skip to content
Get ready for the next version of Yumma CSS, which is going to be amazing!

Border Radius

Controls the radius of the borders of an element.

Class Property

rad-0

border-radius: 0rem;

rad-1

border-radius: 0.25rem;

rad-2

border-radius: 0.5rem;

rad-3

border-radius: 0.75rem;

rad-4

border-radius: 1rem;

rad-5

border-radius: 1.25rem;

rad-6

border-radius: 1.5rem;

rad-7

border-radius: 1.75rem;

rad-8

border-radius: 2rem;

rad-full

border-radius: 100%;

rad-half

border-radius: 50%;
0rem
0.5rem
1rem
50%
<div class="d-g g-16 gtc-4">
<div class="ai-c bg-indigo d-f dim-16 jc-c rad-0 tc-white">0rem</div>
<div class="ai-c bg-indigo d-f dim-16 jc-c rad-2 tc-white">0.5rem</div>
<div class="ai-c bg-indigo d-f dim-16 jc-c rad-4 tc-white">1rem</div>
<div class="ai-c bg-indigo d-f dim-16 jc-c rad-half tc-white">50%</div>
</div>

Bottom Left Radius

Controls the radius of the border of the bottom left of an element.

8rem
<div class="ai-c bg-indigo d-f dim-16 jc-c rad-bl-2 tc-white">8rem</div>

Bottom Right Radius

Controls the radius of the border of the bottom right of an element.

Class Property

rad-br-0

border-bottom-right-radius: 0rem;

rad-br-1

border-bottom-right-radius: 0.25rem;

rad-br-2

border-bottom-right-radius: 0.5rem;

rad-br-3

border-bottom-right-radius: 0.75rem;

rad-br-4

border-bottom-right-radius: 1rem;

rad-br-5

border-bottom-right-radius: 1.25rem;

rad-br-6

border-bottom-right-radius: 1.5rem;

rad-br-7

border-bottom-right-radius: 1.75rem;

rad-br-8

border-bottom-right-radius: 2rem;

rad-br-full

border-bottom-right-radius: 100%;

rad-br-half

border-bottom-right-radius: 50%;
8rem
<div class="ai-c bg-indigo d-f dim-16 jc-c rad-br-2 tc-white">8rem</div>

Top Left Radius

Controls the radius of the border of the top left of an element.

Class Property

rad-tl-0

border-top-left-radius: 0rem;

rad-tl-1

border-top-left-radius: 0.25rem;

rad-tl-2

border-top-left-radius: 0.5rem;

rad-tl-3

border-top-left-radius: 0.75rem;

rad-tl-4

border-top-left-radius: 1rem;

rad-tl-5

border-top-left-radius: 1.25rem;

rad-tl-6

border-top-left-radius: 1.5rem;

rad-tl-7

border-top-left-radius: 1.75rem;

rad-tl-8

border-top-left-radius: 2rem;

rad-tl-full

border-top-left-radius: 100%;

rad-tl-half

border-top-left-radius: 50%;
8rem
<div class="ai-c bg-indigo d-f dim-16 jc-c rad-tl-2 tc-white">8rem</div>

Top Right Radius

Controls the radius of the border of the top right of an element.

Class Property

rad-tr-0

border-top-right-radius: 0rem;

rad-tr-1

border-top-right-radius: 0.25rem;

rad-tr-2

border-top-right-radius: 0.5rem;

rad-tr-3

border-top-right-radius: 0.75rem;

rad-tr-4

border-top-right-radius: 1rem;

rad-tr-5

border-top-right-radius: 1.25rem;

rad-tr-6

border-top-right-radius: 1.5rem;

rad-tr-7

border-top-right-radius: 1.75rem;

rad-tr-8

border-top-right-radius: 2rem;

rad-tr-full

border-top-right-radius: 100%;

rad-tr-half

border-top-right-radius: 50%;
8rem
<div class="ai-c bg-indigo d-f dim-16 jc-c rad-tr-2 tc-white">8rem</div>

Using responsive modifiers

Using responsive breakpoints like sm:rad-*, md:rad-*, lg:rad-*, and xxl:rad-* allows targeting specific utilities in different viewports.

<div class="rad-1 md:rad-2 ..."></div>

Using hover modifiers

Using :hover modifiers such as h:rad-* allows you to override elements and change their values when hovering over them.

<div class="rad-1 h:rad-2 ..."></div>