Pure CSS
Like this post
No JavaScript. Just a checkbox and a lot of keyframes.
Tap the button — try it twice.
LIKED!
1,204
likes
1,205
likes
A
B
C
D
+3
State lives in a hidden checkbox — click again to unlike.
0 bytes of JavaScript