mirror of
https://github.com/opdavies/tailwindcss-plugin-hocus-state.git
synced 2025-01-22 12:07:32 +00:00
docs: add example to README
This commit is contained in:
parent
bb4948c8ef
commit
79f73af214
|
@ -1 +1,9 @@
|
|||
# tailwindcss-plugin-hocus-state
|
||||
|
||||
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>
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue