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

Need pure-u-*-auto classes #759

Closed
jamolkhon opened this issue Feb 17, 2020 · 1 comment
Closed

Need pure-u-*-auto classes #759

jamolkhon opened this issue Feb 17, 2020 · 1 comment

Comments

@jamolkhon
Copy link

@jamolkhon jamolkhon commented Feb 17, 2020

For example I want a button to be 100% width only on mobile phones. I'd be able to accomplish this via class="pure-u-1 pure-u-md-auto".

@I-CRE8

This comment has been minimized.

Copy link

@I-CRE8 I-CRE8 commented Feb 17, 2020

There is a small add-on that includes this for pure here http://tilomitra.github.io/cssextras/, ahh didn't read the question properly sorry.

You can easily add this yourself by doing something like:
@media screen and (max-width: 35.49em) {
.mobile-pure-button-block { display-block; }
}

@redonkulus redonkulus closed this Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.