How to create a toggle button in Bootstrap

前端 未结 10 563
自闭症患者
自闭症患者 2021-01-30 00:57

I originally created a web app in HTML, CSS and JavaScript, then was asked to create it again in Bootstrap too. I\'ve done it all fine, but I had toggle buttons in the web app t

10条回答
  •  猫巷女王i
    2021-01-30 01:06

    Here this very usefull For Bootstrap Toggle Button . Example in code snippet!! and jsfiddle below.

      
        
        
        
        
        
    
    
    
    I showed you a few examples above. I hope it helps. Js Fiddle is here Source code is avaible on GitHub.

    Update 2020 For Bootstrap 4

    I recommended bootstrap4-toggle in 2020.

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

提交回复
热议问题