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

scale-down just looks like contain #28054

Closed
Sammeeey opened this issue Jul 19, 2023 · 0 comments · Fixed by mdn/interactive-examples#2559
Closed

scale-down just looks like contain #28054

Sammeeey opened this issue Jul 19, 2023 · 0 comments · Fixed by mdn/interactive-examples#2559
Labels
Content:CSS Cascading Style Sheets docs

Comments

@Sammeeey
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit

What specific section or headline is this issue about?

everything related to scale-down value

What information was incorrect, unhelpful, or incomplete?

The scale-down value looks as if it did the same as contain.

What did you expect to see?

The major difference between the two seems to be that scale-down keeps a small image size if the image is smaller than its container, while contain stretches the image to fit the container.

Do you have any supporting links, references, or citations?

This codepen here shows the differences very clearly and visually.

Do you have anything more you want to share?

Would be cool to edit the page accordingly.
Anything to add?

MDN metadata

Page report details
@Sammeeey Sammeeey added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jul 19, 2023
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label Jul 19, 2023
@sideshowbarker sideshowbarker removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jul 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Content:CSS Cascading Style Sheets docs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants