Re: [css-ui-3] box-sizing: padding-box

On June 13, 2015 9:37:58 PM GMT+02:00, Patrick Dark <> wrote:
>This use case can be accommodated by:
>(A) removing |box-sizing: padding-box| and |width: 100%| from the |div|
>(B) applying |width: calc(100% + 25px)| to the |div:hover|

Using calc to replace box-sizing is possible, and that's not specific to the padding-box value. But using box-sizing is supposed to make code easier to read understand and maintain.

So I agree we can drop padding-box and not lose functionality, but we lose expressivity.
- Florian Rivoal
Sent from my phone. Please excuse my brevity.

Received on Saturday, 13 June 2015 20:01:09 UTC