3

I am testing this toggle switchs, then I want to verify if is possible put a swipe effect only with these html elements.

h1 Pure CSS Toggle Switches
 .centered 
  .card
   label(for='switch1')
     input(type='checkbox' id='switch1')
     span.switch
     span.toggle  

Code Pen toggle swicth

Tabares
  • 4,083
  • 5
  • 40
  • 47
  • It isn't default browser behaviour to activate a label by swipe. Maybe look into a swipe js library. – Davey Jan 27 '17 at 08:03

0 Answers0