- From: Benjamin De Cock <ben@stripe.com>
- Date: Fri, 13 Oct 2017 12:54:08 +0200
- To: Brad Kemper <brad.kemper@gmail.com>, fantasai <fantasai.lists@inkedblade.net>
- Cc: www-style list <www-style@w3.org>
Received on Friday, 13 October 2017 10:54:32 UTC
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