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
Originally from: https://github.com/toolkitchen/polyfills/issues/86
The shim treats @host as a pseduo element. Namely, the following example applies a red border to the host, which changes to a blue one on hover:
@host
<style> @host { border: 1px solid red; } @host:hover { border: 1px solid blue; } <style>
But the @host at-rule is like a @media query. The example above should be written as:
@media
<style> @host { * { border: 1px solid red; } *:hover { border: 1px solid blue; } } <style>
The toolkit, shim, and examples use the first syntax everywhere. Is that intentional or am I out of whack here?
The text was updated successfully, but these errors were encountered:
Current spec @host syntax is now supported.
Sorry, something went wrong.
sorvell
No branches or pull requests
Originally from: https://github.com/toolkitchen/polyfills/issues/86
The shim treats
@host
as a pseduo element. Namely, the following example appliesa red border to the host, which changes to a blue one on hover:
But the
@host
at-rule is like a@media
query. The example above should be written as:The toolkit, shim, and examples use the first syntax everywhere. Is that intentional or am I out of whack here?
The text was updated successfully, but these errors were encountered: