You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we Implement Different Values for Horizontal & Vertical Box? Today I found a use case where if I could change only vertical box-sizing to content-box, I could solve my issue only via CSS. Though for now I have to use JS.
For different horizontal & vertical values, can we implement 2 values syntax?
E.g.: box-sizing: border-box content-box;
If we have 2 values first will be applied horizontally and second will be applied vertically.
Today I found a use case where if I could change only vertical box-sizing to content-box, I could solve my issue only via CSS. Though for now I have to use JS.
I guess that decision was also based on missing use cases. So if you can come up with one, it may be discussed again. Though for that you should open a separate issue.
Can we Implement Different Values for Horizontal & Vertical Box? Today I found a use case where if I could change only vertical box-sizing to content-box, I could solve my issue only via CSS. Though for now I have to use JS.
For different horizontal & vertical values, can we implement 2 values syntax?
E.g.: box-sizing: border-box content-box;
If we have 2 values first will be applied horizontally and second will be applied vertically.
New Working Draft: CSS Box Sizing Level 4.
URL: https://www.w3.org/TR/2020/WD-css-sizing-4-20200526/
box-sizing: border-box | content-box | padding-box?
why not padding-box is implemented?
The text was updated successfully, but these errors were encountered: