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

Be more explicit about necessity of perspective() argument #2542

Open
Stan-Stani opened this issue Feb 25, 2023 · 4 comments
Open

Be more explicit about necessity of perspective() argument #2542

Stan-Stani opened this issue Feb 25, 2023 · 4 comments
Labels
Content:CSS issues related to CSS examples. help wanted If you know something about this, we would love your help! idle Issues and pull requests with no activity for three months.

Comments

@Stan-Stani
Copy link

Stan-Stani commented Feb 25, 2023

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/translate3d

What specific section or headline is this issue about?

The Try It section

What information was incorrect, unhelpful, or incomplete?

The try it section should show that the perspective() argument is present. The CSS shown in the Try It section will not result in the output without perspective(),

What did you expect to see?

The try it section should show that the perspective() argument is present.

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

https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/perspective

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@Stan-Stani Stan-Stani added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Feb 25, 2023
@github-actions github-actions bot added the Content:CSS issues related to CSS examples. label Feb 25, 2023
@sideshowbarker sideshowbarker added help wanted If you know something about this, we would love your help! and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Mar 3, 2023
@Josh-Cena Josh-Cena transferred this issue from mdn/content Jun 28, 2023
@github-actions
Copy link

It looks like this is your first issue. Welcome! 👋 One of the project maintainers will be with you as soon as possible. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct.

@Josh-Cena
Copy link
Member

I believe the issue is about the first example, transform: translate3d(0);, which is missing two arguments. Is that right, @Stan-Stani?

@github-actions github-actions bot added the idle Issues and pull requests with no activity for three months. label Jul 28, 2023
@Stan-Stani
Copy link
Author

Stan-Stani commented Sep 7, 2023

Gosh, it's been a while. But I think the gist of my comment is that there are other required properties for the effect seen in the Try It section that are not clear to someone navigating to the article from a Google search who doesn't have more context, for example.

Here's a gif demonstrating that other properties are required for the effect but they are not made clear in the article:

moreRequiredProperties

@Josh-Cena
Copy link
Member

I don't think that's the key point of this example. Live examples almost never provide reproducible code—rather, they hold all other variables constant so you can observe the effect of this one feature in a sufficiently complicated context.

That said, we'll leave it open so (1) the invalid case can be fixed (2) maybe someone has a different opinion.

@github-actions github-actions bot removed the idle Issues and pull requests with no activity for three months. label Sep 8, 2023
@github-actions github-actions bot added the idle Issues and pull requests with no activity for three months. label Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:CSS issues related to CSS examples. help wanted If you know something about this, we would love your help! idle Issues and pull requests with no activity for three months.
Projects
None yet
Development

No branches or pull requests

3 participants