How to create a toggle button in Bootstrap

前端 未结 10 676
自闭症患者
自闭症患者 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条回答
  •  自闭症患者
    2021-01-30 01:18

    If you want to keep a small code base, and you are only going to be needing the toggle button for a small part of the application. I would suggest instead maintain you're javascript code your self (angularjs, javascript, jquery) and just use plain CSS.

    Good toggle button generator: https://proto.io/freebies/onoff/

提交回复
热议问题