Step parameter for input type of range

后端 未结 3 1916
甜味超标
甜味超标 2021-02-12 10:35

Is it possible to specify a decimal for a step parameter within the range element? According to a few articles I\'ve read, including one on Nettuts, this should be possible. Thi

3条回答
  •  花落未央
    2021-02-12 11:32

    http://jsfiddle.net/Df57B/

    Check out this demo it is possible to give steps in decimal.

    
    

    Your mistake take is that you gave .25 instead of 0.25.

提交回复
热议问题