The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Is this input type possible to edit with CSS
I need to make a input type with range ot 0.5 and add and remove buttons on each side like this: http://i.stack.imgur.com/D5M25.jpg
The most similar to this is the <input type=”number” step=”0.5″ value=”0.5″ /> tag but i need the arrows to be on each side. Is this possible make with css?
Probably but it would involve hiding the default input and replacing it with other elements.
What have you tried?
Now I am trying to do it with this method: https://css-tricks.com/number-increment-buttons/
but i was wondering is it possible without the javascript only with pure css.
I don’t think it’s possible with only CSS, you’re dealing with the browser’s default form behavior.