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

::fragment:nth-child(1) should work? #18

Open
argyleink opened this issue Mar 7, 2024 · 2 comments
Open

::fragment:nth-child(1) should work? #18

argyleink opened this issue Mar 7, 2024 · 2 comments

Comments

@argyleink
Copy link
Contributor

No description provided.

@flackr
Copy link
Owner

flackr commented Mar 7, 2024

Do you expect this to select the first fragment? If so, I think we should add the parameter to the fragment function, e.g. ::fragment(1) or ::nth-fragment(1). The fragments are not proper "children" so I'm not sure if it's sensible to use nth-child here.

@argyleink
Copy link
Contributor Author

yes, select the first fragment. not proper children.. but children nonetheless yeah?

what about ::fragment:snapped? view transitions precedence here might be useful to use for influence?

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

2 participants