Conditional Radius
Border Size
link Border SizeCSS Variable: --o-border-size-{ 1-5 }
Utility Class: o-border-{ "" | top | bottom | left | right }-{ 1-5 }
Size 1
link Size 1o-border-1
Size 2
link Size 2o-border-2
Size 3
link Size 3o-border-3
Size 4
link Size 4o-border-4
Size 5
link Size 5o-border-5
Border Radius
link Border RadiusCSS Variable: --o-radius-{1-6 | round}
Utility Class: o-radius-{ side | corner }-{ 1-6 | round }
No Radius
link No Radiuso-noradius
Use this class to remove the border radius from an element.
Radius 1
link Radius 1o-radius-1
Set Radius on Corners of a specific side
link Set Radius on Corners of a specific sideo-radius-left-1
Set Radius on a specific corner
link Set Radius on a specific cornero-radius-bottom-right-1
Radius 2
link Radius 2o-radius-2
Set Radius on Corners of a specific side
link Set Radius on Corners of a specific sideo-radius-left-2
Set Radius on a specific corner
link Set Radius on a specific cornero-radius-bottom-right-2
Radius 3
link Radius 3o-radius-3
Set Radius on Corners of a specific side
link Set Radius on Corners of a specific sideo-radius-left-3
Set Radius on a specific corner
link Set Radius on a specific cornero-radius-bottom-right-3
Radius 4
link Radius 4o-radius-4
Set Radius on Corners of a specific side
link Set Radius on Corners of a specific sideo-radius-left-4
Set Radius on a specific corner
link Set Radius on a specific cornero-radius-bottom-right-4
Radius 5
link Radius 5o-radius-5
Set Radius on Corners of a specific side
link Set Radius on Corners of a specific sideo-radius-left-5
Set Radius on a specific corner
link Set Radius on a specific cornero-radius-bottom-right-5
Radius 6
link Radius 6o-radius-6
Set Radius on Corners of a specific side
link Set Radius on Corners of a specific sideo-radius-left-6
Set Radius on a specific corner
link Set Radius on a specific cornero-radius-bottom-right-6
Radius round
link Radius roundo-radius-round
Set Radius on Corners of a specific side
link Set Radius on Corners of a specific sideo-radius-left-round
Set Radius on a specific corner
link Set Radius on a specific cornero-radius-bottom-right-round
Blobs
link BlobsCSS Variable: --o-radius-blob-{ 1-5 }
Utility Class: o-blob-{ 1-5 }
Blob 1
link Blob 1o-blob-1
Blob 2
link Blob 2o-blob-2
Blob 3
link Blob 3o-blob-3
Blob 4
link Blob 4o-blob-4
Blob 5
link Blob 5o-blob-5
Conditional Radius
link Conditional RadiusConditional radius sets a radius, and when we have a component that doesn’t have margin or is taking the full viewport width, it flips the border-radius to 0.
Read the full story by Ahmad Shadeed
The Props
link The PropsPattern: —o-radius-conditional--5
The Classes
link The ClassesPattern:
o-radius-{ side | corner }-conditional-{ 1-6 | round }
Preview
link Preview1
2
3
4
5
6