Custom animated checkbox inputs using CSS and iconfonts

View code Play Walkthrough

Description

This tutorial uses the popular fontawesome iconfont to create animated checkbox inputs using CSS3 transitions. The nice thing is that one doesn't have to create custom graphics in Photoshop for it.

Pseudo elements are used on labels to place two icons(checked and unchecked) one above the other using absolute positioning. When the user clicks on the label, the checked icon animates in/out.

To simulate real handwritten ticking/unticking, the checked icon's visibility is revealed from left to right using max-width transition.

Add New Comment

19 Comments

(close)
Kyran Rana

Kyran Rana

Awesome walk through, love those colorful check boxes they look epic. XD

terryxixi

terryxixi

it is wonderful

Hellmut Barbosa

Hellmut Barbosa

Dude, the world needs more people like you!

shivek

shivek

Why the code after writing is not working in Latest Firefox update???
It is working on live demo but after writing the same code by myself.. it is not working in Firefox??plz explain??

Tahir

Tahir

Shivek same problem here with me. Its not working on Firefox and IE too. we need your help. Kindly suggest better solution. Thanks and i just want to say Its Awesome. :)

John

John

This not work on firefox 29.0.1

John

John

Ok now its working.Thanks.

Shokat

Shokat

John : Now its working ? I mean how?

ermushko

ermushko

Man, this is so cool, I can’t even pick up words! I did coding for myself, but the idea of stretching “image mask” from the side is awesome! It looks like a real jackdaw so much, so there is straight association with puting it down with a physical pen or pencil. Thank you again!

mohammad

mohammad

even for me its not working, in chrome as well as in firefox

강희순

강희순

베리굿 완전 멋있습니다.

waterproof camera 2015

waterproof camera 2015

The most CCTV cameras in use today usually are for surveillance and security purposes.
Our waterproof bags are already featured on This Morning, along with
publications including Men’s Health, Yachting Monthly, The Observer, the Daily Mail and also the Sunday Times.
Waterproof photo camera The recording capacity of under camera is amazing using the high
display quality.

The nice thing about it, is when you’re willing to look into used cameras you can find plenty of great deals.
Dry CASE DC13 Waterproof Cell Phone Case (Crystal Clear) $
30.

www.tic-pr.com

www.tic-pr.com

According to Hallett, when gossip is interjected into business meetings,
it illustrates who has the political power in an organization’and who doesn’t.

Considering that the thought of unwavering devotion to our families is instilled in us right from the moment we
begin to understand life, a situation where we have
to defy this perception is tougher than one can imagine.
Xem online gossip girl season 4 These days,
companies have security training in place which disallows the
passing of information to certain people but to get
to this level, there is a need to have some form of security certification to ensure
that everyone employed there is up to speed with what they can and
cannot divulge.

There has always been Hollywood gossip in the press.
Gossip news of sri lanka That appeared like your gossiping ended up
being more painful in the event that cops put away together outside of do
the job. It’s most popular among a lot of teenagers and kids
that like to watch online on their computers.

5x 10x 15x 20x

19 Comments

Description