I use input type="text" for the output range of a JS UI Slider(works only with input type="text"), but I want to give it some styling.
For example after 3 characters, I would like a comma and a line break, as in the left image here:
This is my code at present:
<input type="text" id="amount1" readonly style="position: absolute;">
