How can I add padding-right to an input type=“number” when aligning right?

前端 未结 4 1594
-上瘾入骨i
-上瘾入骨i 2021-01-03 19:00

I can\'t believe I haven\'t been able to find anything about this problem.

In my new project the future user will have a column with some input type=\"number\"

4条回答
  •  长情又很酷
    2021-01-03 19:13

    Try this

    HTML

    JS

    webshims.setOptions('forms-ext', {
        replaceUI: 'auto',
        types: 'number'
    });
    webshims.polyfill('forms forms-ext');
    

    Demo Here

提交回复
热议问题