-
-
Notifications
You must be signed in to change notification settings - Fork 78.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v4-alpha Card columns on small screens #17511
Comments
+1 |
Looks like the following can accomplish this, but it would be nice if it was built into V4.
|
|
👍 This should go up in the v4 docs! |
@dalezak There is no need for vendor prefixes, autoprefixer takes care of that. |
I'm using something like the following - some redundant code given autoprefixer will take care of prefixes but nonetheless current release wasn't working for me on chrome so I've left them in
|
No plans to implement this wholesale, but I can see adding a mention to the docs for how it can be customized and extended. Coming in #19885. |
Using the card columns forces 3 columns to be created regardless of screen size. On smaller screens (e.g. xs, sm) this is not particularly useful. It would be desirable to be able to set different column numbers for different screen sizes easily without manually overriding the column-count property
Syntax example - matching the grid classes. This is merely my own personal proposal
card-columns-sm-1, card-columns-md-3
The text was updated successfully, but these errors were encountered: