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

object-fit utility #36140

Closed
2 tasks done
AgentSmith0 opened this issue Apr 9, 2022 · 2 comments
Closed
2 tasks done

object-fit utility #36140

AgentSmith0 opened this issue Apr 9, 2022 · 2 comments

Comments

@AgentSmith0
Copy link

AgentSmith0 commented Apr 9, 2022

Prerequisites

Proposal

What about adding utility classes for the css property object-fit (https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)?

Motivation and context

This utility is very useful when working with images and videos.

@ffoodd
Copy link
Member

ffoodd commented Apr 9, 2022

Not sure about this for now—however it's really easy to add a new utility in a custom Sass build.

Let's see if this gets upvotes and requests, before adding this to the core.

@AgentSmith0
Copy link
Author

Fixed with #36848, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants