Update README.md

This commit is contained in:
Andros Fenollosa 2020-07-17 16:29:34 +02:00 committed by GitHub
parent 0284ebc9c4
commit 91338f9185
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,21 @@
# FFNM (Front-End for the next master) # FFNM (Front-End for the next master)
``` html
<button i-click="class:add('press')">open</button>
```
👇 🖱 **Click!** 👇
``` html
<button class="press" i-click="class:add('press')">open</button>
```
Simple utility to **avoid writing Javascript** when working with **classes**. It only takes up **2Kb**! Simple utility to **avoid writing Javascript** when working with **classes**. It only takes up **2Kb**!
- Simplifies the **clicks**. - Simplifies the **click**.
- Simplifies the **scroll**. - Simplifies the **scroll**.
- Simplifies **hover**. - Simplifies **hover**.
## DEMOS ## DEMOS
[Click](https://codepen.io/androsfenollosa/pen/dyGdRVE) [Click](https://codepen.io/androsfenollosa/pen/dyGdRVE)