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

Feature: Visibility(Reverse Columns) #3071

Closed
mrwormhole opened this issue Aug 2, 2020 · 2 comments
Closed

Feature: Visibility(Reverse Columns) #3071

mrwormhole opened this issue Aug 2, 2020 · 2 comments

Comments

@mrwormhole
Copy link

This is about Bulma. Suggested Feature(CSS HELPER)

Feature

I'm using Bulma 0.9.0. I started to commonly use reverse-columns to be more responsive on mobile side. And i would like to make a contribution about the visibility part of Bulma which i found repetitive css to be a good feature in the library. Please let me know if this is useful for Bulma, i will go ahead and make a PR(with docs included) if it is.

Description

For columns classes, you can use this to reverse the order and make it more cool for mobile devices. This is generally useful when you have right and left image/text pattern which ends up awful in mobile and tablet like image-image text-text.

.reverse-columns-mobile {
@media(max-width: $mobile) {
flex-direction: column-reverse;
display: flex;
}
}

.reverse-columns-tablet {
@media(max-width: $tablet) {
flex-direction: column-reverse;
display: flex;
}
}

@mrwormhole
Copy link
Author

Added in #3047 as service-paradis mentioned. Thank you!

@Codepologist
Copy link

This is about Bulma. Suggested Feature(CSS HELPER)

Feature

I'm using Bulma 0.9.0. I started to commonly use reverse-columns to be more responsive on mobile side. And i would like to make a contribution about the visibility part of Bulma which i found repetitive css to be a good feature in the library. Please let me know if this is useful for Bulma, i will go ahead and make a PR(with docs included) if it is.

Description

For columns classes, you can use this to reverse the order and make it more cool for mobile devices. This is generally useful when you have right and left image/text pattern which ends up awful in mobile and tablet like image-image text-text.

.reverse-columns-mobile {

@media(max-width: $mobile) {

flex-direction: column-reverse;

display: flex;

}

}

.reverse-columns-tablet {

@media(max-width: $tablet) {

flex-direction: column-reverse;

display: flex;

}

}

Exactly what I'm looking for... Now where do I place this to have it work for mobile too?

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

No branches or pull requests

2 participants