Skip to content
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 - Responsive Cards #17486

Closed
starise opened this issue Sep 5, 2015 · 3 comments
Closed

V4 - Responsive Cards #17486

starise opened this issue Sep 5, 2015 · 3 comments

Comments

@starise
Copy link

starise commented Sep 5, 2015

The new Bootstrap 4 Cards are nice, but regarding the variants, like Decks and Columns, i see that they're completely non-responsive at the moment. Am i wrong?

I think many users would use them in some kind of responsive layout.

@XhmikosR
Copy link
Member

XhmikosR commented Sep 6, 2015

/CC @mdo I wanted to ping you about this yesterday too. One can see this by visiting the docs card page with a mobile phone.

@starise
Copy link
Author

starise commented Sep 6, 2015

I'm trying to achieve the result in Decks being responsive. The main problem is that if you want equal heights, you have to apply 'card' styles on the flexbox item, then inside of it build the card. Applying the style to the box causes a collapse between elements due to the use of padding for spacing (codepen).

If you take a look at my website, i achieved something like that using a flex container and boxes styled as cards themselves. Inside of the box there's the wrapper for the card. For spacing i had to play with margins instead of paddings as Boostrap does by default.

@mdo mdo added this to the v4.0.0-alpha.2 milestone Sep 6, 2015
@mdo
Copy link
Member

mdo commented Sep 6, 2015

Work started in 0d0edeb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants