Bit #37
A CSS snippet to handle nested border radius:
.parent { --nested-radius: calc(var(--radius) - var(--padding));}
.nested { border-radius: var(--nested-radius);}
A CSS snippet to handle nested border radius:
.parent { --nested-radius: calc(var(--radius) - var(--padding));}
.nested { border-radius: var(--nested-radius);}