Re: [css-backgrounds] border-position

On Wed, Oct 4, 2017 at 10:13 PM, Brad Kemper <brad.kemper@gmail.com> wrote:
>
> Yeah, the border box is always going to be outside the padding box, and
> ‘box-sizing’ will combine with things like ‘width’ (or ‘max-width’,
> ‘flex-basis’, etc.) to determine the dimensions of the border box, which
> then leads to how much space is used for layout.
>
> However, it would be possible to have something like ‘border-image-offset’
> to shift the ink of the line without changing layout. I could see
> ‘border-offset’ being similar to that, but shifting the border ink (as
> determined by border-style and border-width) instead of an image. Because
> it could cause overlapping with existing content, you’d have to be careful
> with margin and padding, and it probably wouldn’t be your default way of
> designing layouts. But I could see that being very useful if we ever get a
> feature for doing multiple, overlapping borders.
>

Yeah I really like that, and I agree it'd be extremely useful/powerful!
Elika: any thoughts on this?

Received on Friday, 13 October 2017 10:54:32 UTC