-
Notifications
You must be signed in to change notification settings - Fork 71
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
*-visible / *-hidden classes #32
Comments
@leejordan I've created a gist to show what i mean: It is based on Twitter bootrstrap 4 approach: |
For anyone interested, I quite liked this scss pattern for generating this - Credit to csswizardry and inuitt.css for the patterns. I will try and get round to a PR.
|
I guess I'm just concerned it will bloat out the framework for a feature that not everybody will need. Right now it's quite focused on one thing. However, it's possible I am wrong about this :) |
@leejordan fair enough. Its not difficult to implement if you need it. |
Hm... @leejordan so maybe we create separate repo |
Maybe we could add it to this repo but I'm open to ideas on how to make it optional in here. Or maybe I'm just wrong and it should be added by default. I'd be interested to see how much it adds to the final compiled and minified css file size. |
See here: 10195 bytes has reflexgrid itself, so it is 6,4% size gain ... |
I guess that's worth it as it seems like there is some demand. Open a PR and I'll replicate the same functionality in LESS just for parity 👍 |
@leejordan I was checking the size of my gist. @dmoojunk code has additional classes Which one do You want me to include? TWB4 classes |
I would strip the visible only's. Its a pretty niche use case I have. |
This would be super handy! Foundation do the same, hide-for-medium, show-for-medium-up etc |
Nice. I landed here because I wanted to open a ticket for that. I need to hide content on small devices. That's currently not possible. Which is bad. In my case. I'm pretty sure there will be other people looking for a way to hide content on mobile. Adding something like
doesnt bloat anything. |
I ended up needing these myself so I've added my implementation which is optional in version 1.5.0 |
I've read docs, and I didn't notice any
*-visible
/*-hidden
classes.Is using those are somewhat wrong and that is why You do not provide them?
Maybe this is a topic for PR?
The text was updated successfully, but these errors were encountered: