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

@container rule output none #1263

Closed
a-d-w-s opened this issue Nov 28, 2023 · 3 comments
Closed

@container rule output none #1263

a-d-w-s opened this issue Nov 28, 2023 · 3 comments

Comments

@a-d-w-s
Copy link

a-d-w-s commented Nov 28, 2023

If I use @container then clean-css clears it on the output.

Input CSS

@container layout-fieldset (inline-size > 1500px) {
	.grid {
		grid-template-columns: repeat(7, 1fr);
	}
}

Actual output CSS

none

Expected output CSS

@container layout-fieldset (inline-size > 1500px) {
	.grid {
		grid-template-columns: repeat(7, 1fr);
	}
}
@naamhaiabdullah
Copy link

Not facing this issue on version 5.3.3 released 8 days ago.

@a-d-w-s
Copy link
Author

a-d-w-s commented Dec 11, 2023

Sorry, I used to "gulp-clean-css": "^4.3.0",
Now I used clean-css directly and everything works.

@jakubpawlowicz
Copy link
Collaborator

Gotcha. Thanks for letting us know!

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

3 participants