Making input buttons act like 's without JavaScript

后端 未结 4 1327
遇见更好的自我
遇见更好的自我 2021-01-25 13:38

I know that I can assign an onclick action to -style buttons. But is it possible to let it behave like an w

4条回答
  •  遥遥无期
    2021-01-25 14:15

    Some CSS libraries such as Twitter Bootstrap make this very easy.

    There is an example (named "One class, multiple tags" quoted below) where you can apply a .btn class to ,

提交回复
热议问题