Request to add CSS multi column support to [Box]
See original GitHub issueWhat problem does this feature solve? Missing support for css columns (css columns on css-tricks)( (columns on MDN).
What does the proposed API look like? columnCount columnFill columnGap columnRuleStyle columnRuleWidth columnRuleColor columnRule columnSpan columnWidth breakInside
Describe alternatives you’ve considered
Building columns with Flex
or Grid
, but CSS multi columns behave slightly different.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:10 (7 by maintainers)
Top Results From Across the Web
CSS Multi-column Layout - CSS: Cascading Style Sheets | MDN
CSS Multi -column Layout is a module of CSS that adds support for multi-column layouts. Support is included for establishing the number of ......
Read more >When And How To Use CSS Multi-Column Layout
In this article I'm going to take a look at Multi-column Layout — often referred to as multicol or sometimes “CSS Columns”.
Read more >CSS Multi-column Layout Module Level 1
This specification describes multi-column layouts in CSS, a style sheet language for the web. Using functionality described in the specification ...
Read more >How can I create multi columns from a single unordered list?
You can do that using just one list and define the number of columns with CSS. If you check CSS3 Multi-column layout browser...
Read more >columns
Using both column-count and column-width is recommended to create a flexible multi-column layout. The column-count will act as the maximum ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for sharing your approach @trevorblades.
You also achieve this by using the
sx
prop in v1, which allows you to define regular css styles in a theme-aware, responsive manner.@with-heart, the thing is, we created the
sx
prop as a fallback for style props we don’t allow by default. Perhaps, we can improve the docs a bit to make this clearer.Cheers
@with-heart @segunadebayo the downside of using the
css
prop is that you lose the responsive styles