coord-box and inset are both pretty similar in that they follow the outline of a html element.
I like coord-box because it follows the border-radius and inset doesn't.
I like inset because I can specify for the path to be inset or offset from the edge of the HTML element (a bit like the way outline-offset works.
It's a shame that there is not a way to follow the border radius but also specify an offset.
coord-box can only be specified as content-box, padding-box, border-box etc without an option to add an offset.
coord-box and inset are both pretty similar in that they follow the outline of a html element. I like coord-box because it follows the border-radius and inset doesn't. I like inset because I can specify for the path to be inset or offset from the edge of the HTML element (a bit like the way
outline-offset
works. It's a shame that there is not a way to follow the border radius but also specify an offset. coord-box can only be specified ascontent-box
,padding-box
,border-box
etc without an option to add an offset.