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

Support to pseudo-class :active #121

Closed
imbrn opened this issue Nov 6, 2017 · 2 comments
Closed

Support to pseudo-class :active #121

imbrn opened this issue Nov 6, 2017 · 2 comments

Comments

@imbrn
Copy link

imbrn commented Nov 6, 2017

I propose a feature for handling "active" states as we already have for "hover" states.

This feature would allow a full interactive state for components like buttons:

<button class="bg-blue hover:bg-blue-dark active:bg-blue-darker text-white p-4">
@reinink
Copy link
Member

reinink commented Nov 6, 2017

Yes for sure, we are planning on adding active and focus helpers in addition to responsive and hover. The challenge right now is keeping the CSS file size at a reasonable size, as adding all of these states to all the utilities would get quite large.

We're working on a system where you can enable or disable the responsive, active, focus and hover states on a per module basis.

@adamwathan
Copy link
Member

Consolidate into #136.

DCzajkowski pushed a commit to DCzajkowski/tailwindcss that referenced this issue Jul 23, 2019
Split Flex, Grow, & Shrink into separate pages
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

3 participants