Mike
KPCKevin Powell - Community
•Created by Mike on 11/8/2023 in #front-end
outline border-radius
oh yeah, weird. caniuse doesn't show the border-radius details unless you only have MDN checked
16 replies
KPCKevin Powell - Community
•Created by Mike on 11/8/2023 in #front-end
outline border-radius
oh wow, I didn't know that was there, thanks @jsnkuhn !
16 replies
KPCKevin Powell - Community
•Created by Mike on 11/8/2023 in #front-end
outline border-radius
The problem I'm facing with our designer is that figma is set to use "stroke alignment" of "inside", which is not how borders work in CSS. Additionally, the regular border is 1px, and the focus/error borders are 2px, which would cause layout shift using
border
when going between the two. So my solution was to use outline
instead of border
which prevents the layout shift. But now I'm concerned about the browser support...
But I suppose the impact of not seeing a border radius on an old browser is pretty low.16 replies