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

[Bug]: Nested CSS, parent is lost #177

Open
JulianCataldo opened this issue Jan 23, 2024 · 0 comments
Open

[Bug]: Nested CSS, parent is lost #177

JulianCataldo opened this issue Jan 23, 2024 · 0 comments

Comments

@JulianCataldo
Copy link

What happened?

CSS Nesting is now widely supported

		<style>
			html {
				&[data-is-loaded='false'] {
					opacity: 0;
				}

				&[data-is-loaded='true'] {
					transition: opacity calc(1s / 3);
					opacity: 1;
				}
			}
		</style>

Yields (unminified):

		<style>
			&[data-is-loaded='true'] {
				transition: opacity calc(1s / 3);
				opacity: 1;
			}
		</style>

Enclosing parent is lost.

Version

7.2.0

What browsers are you seeing the problem on?

No response

Link to reproduce

No response

Relevant log output

No response

Willing to submit a PR?

None

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

1 participant