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 proposal] Add transition property for width and height #1801

Closed
WoodyDark opened this issue May 20, 2020 · 2 comments
Closed

[Feature proposal] Add transition property for width and height #1801

WoodyDark opened this issue May 20, 2020 · 2 comments

Comments

@WoodyDark
Copy link

Transitioning width and height are rather commonly used in creating dropdown menus, charts, progress bars etc. Would like to request for width and height to be added into .transition and also add a .transition-size class.

@luukdv
Copy link

luukdv commented May 26, 2020

Personally, I would recommend against this. width and height cannot be animated cheaply, and in most cases transform can be used instead. For the exceptions, these can be added manually to the Tailwind config.

@adamwathan
Copy link
Member

No plans to add this to core right now but can always add this in your config 👍🏻

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