-
…in reply to @wesbos
wesbos Correct, I should have specified, sorry! Though I think if you do have an inner radius of 0, you might be able to cheat a bit with something like
max(2px, var(--outRadius) - var(--outPadding) - var(--inBorder))
, that way you keep a hint of roundness: codepen.io/chriskirknielsen/pen/PomzjNL?editors=1100