You care for rounded edges?
It seems like purely css has a lot of coding involved.
Here is the pure css demo:
Then a bit js added:
Bur adding js makes a bit consistent look on every browser ( not entirely but close ).
JS sample here: