tailwindcss-plugin-hocus-state/README.md

10 lines
297 B
Markdown
Raw Permalink Normal View History

2023-08-24 18:49:32 +00:00
# tailwindcss-plugin-hocus-state
2023-08-24 19:04:33 +00:00
A [Tailwind CSS](https://tailwindcss.com) plugin that adds a `hocus` variant to add styles for both `hover` and `focus` states with the same utility.
## Example
```html
<a class="hocus:bg-black hocus:text-white hocus:underline" href="#0">This is a link</a>
```