-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add .pure-u-0
and similar classes
#10
base: master
Are you sure you want to change the base?
Conversation
…. `.pure-u-0-24`) and sets them to `display: none`. Signed-off-by: Daniel <[email protected]>
Do you have a demonstration somewhere that shows how this would be used? |
Not currently, however displaying one layout versus another based on screen size is the point of responsive web design. Showing one For example: <div class='pure-u-0 pure-u-lg-1-2'> ... </div>
<div class='pure-u-1 pure-u-lg-0'> ... </div> This code will display one |
Seems like a good idea to me! @jamesalley @jconniff @tilomitra what do you all think of this idea? |
Seems helpful, as long as its purpose is documented clearly so people don't think they have to hide and show duplicate code to get responsive layout. |
For the record I have a situation right now where I think this would be the cleanest way (which is how I've been brought to this issue). Is there something missing in this PR to get it merged? |
/cc @jamesalley |
+1 for this to be included in standard pure. Why it needs to be inside pure and example here, https://github.com/yahoo/pure/files/854487/purezero.zip (from the thread pure-css/pure#640) |
This code allows for the hiding certain elements based on Media Queries.