-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
Responsive Card Decks #19826
Comments
@DaSchTour Just wanted to clarify that decks auto-collapse at I could see the value of adding full grid functionality though. I'm not sure if adding Foundation uses JS to achieve something similar: http://foundation.zurb.com/sites/docs/equalizer.html |
Hi @RyanZim! You appear to have posted a live example (https://fiddle.jshell.net/m701buty/show/light/), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:
You'll need to fix these errors and post a revised example before we can proceed further. (Please note that this is a fully automated comment.) |
Why use ugly JS that makes the elements jump when flexbox adds this natively? Auto Collapse on XS is the minimum I expected from card decks. |
I was just suggesting this as a possible option. It will be several years until I start using flexbox due to the current lack of browser support. |
Lack of browser support? It's just IE that was deprecated by Microsoft and old buggy android stock browser nobody want's to use. 95% of all users at the moment use a browser that supports flexbox. |
Any change this ticket could get reopened? |
@markoheijnen Probably would be best to open a new ticket. |
Successor: #20321 |
Although this may be a feature that could only be made using flexbox, but it would be nice to have responsive card decks. At the moment all cards inside a deck are squeezed into one row. It would be great if there was a possibility to add a class to the card-deck that defines the width of each card for each breakpoint. Something like card-deck cards-sm-6 cards-md-4 cards-lg-3.
On mobile devices all cards will be stacked. On sm there are two cards each row, md has 3 cards and lg has 4 cards per row.
And that's not the same as putting cards into normal grid columns as they will not have the same hight when they are not in a deck.
The text was updated successfully, but these errors were encountered: