Is it possible to customize an input field for amounts with +- buttons?

前端 未结 3 1823
梦如初夏
梦如初夏 2021-01-20 00:13

Is it possible with jQuery & CSS to design a input field like that?

\"Amount\"

I am not sure where

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-20 00:27

    Here's simple way based on jQuery.

    http://jsfiddle.net/acodesmith/aykZs/3/

    The buttons aren't pratical, just showing what can be done. The importat part is the parent div.step .

    EDIT: Updated Buttons http://jsfiddle.net/EK9vA/

提交回复
热议问题