You've likely encountered the common issue of calculating a border radius value when you have an element with a border radius within a parent element which also has a border radius. If you use the same value for both, the inner radius will look wrong.
Bits and bytes of code
Bytes is my collection of short-form posts, tips, and things I learn as I build software.