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

Add aspect utility #626

Merged
merged 1 commit into from Mar 23, 2022
Merged

Conversation

itsvic-dev
Copy link
Contributor

Adds native aspect-ratio utility as a part of #589.

https://tailwindcss.com/docs/aspect-ratio

Example usage:

<iframe src="https://youtube.com/embed/..." css={tw`aspect-video`} />

@ben-rogerson
Copy link
Owner

Thanks so much for your work here 👍

@ben-rogerson ben-rogerson mentioned this pull request Feb 16, 2022
@ben-rogerson ben-rogerson merged commit ec74305 into ben-rogerson:master Mar 23, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants