[css-sizing-4] Can we Implement Different Values for Horizontal & Vertical Box?
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the CSS Box Sizing Level 4 Working Draft linked in the issue and compare it with the proposed two-value box-sizing syntax. The issue also asks why padding-box is not implemented; done would require a resolved specification direction for these questions rather than a localized code change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100