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
In the document, there's CSS component. But it does not mention how we can add css pseudo like :hover to the className??
css className() { background-color: white; }
How to add hover style to above className?
The text was updated successfully, but these errors were encountered:
It's not currently possible with CSS components.
I'm working on a CSS parser that can support working directly in <style> elements instead, see https://github.com/a-h/templ-css/blob/main/parse_test.go for a (very) early look at the idea.
<style>
For the time being, just use normal CSS. CSS components are targeted at making reusable component libraries.
Sorry, something went wrong.
Going to close this, we can track progress in #262
No branches or pull requests
In the document, there's CSS component. But it does not mention how we can add css pseudo like :hover to the className??
css className() { background-color: white; }
How to add hover style to above className?
The text was updated successfully, but these errors were encountered: