We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Inconsistent behavior in the parser and strigifier when working with selectors with a class after the pseudo-element.
Any output should be accepted as an input without errors
Input
.input::placeholder { &:not(.noAdaptiveTypography) { display: inline } }
Output (get error case)
.input::placeholder:not(.noAdaptiveTypography) { display: inline; }
Lightning CSS Playground
/* ERROR: Pseudo-elements like '::before' or '::after' can't be followed by selectors like 'Delim('.')' */
The text was updated successfully, but these errors were encountered:
Getting the similar issue if you accidentaly target some element like br after pseudo element, e.g.:
br
.selector::after br {}
This isn’t valid of course, but maybe Lightning CSS can be forgiving in these cases?
Edit: just saw similar issue with suggestions on how to approach this, so ignore my comment
Sorry, something went wrong.
No branches or pull requests
Inconsistent behavior in the parser and strigifier when working with selectors with a class after the pseudo-element.
Expected behavior
Any output should be accepted as an input without errors
No error case
Input
Output (get error case)
Lightning CSS Playground
Error case
Input
Output (get error case)
/* ERROR: Pseudo-elements like '::before' or '::after' can't be followed by selectors like 'Delim('.')' */
Lightning CSS Playground
The text was updated successfully, but these errors were encountered: