I have a form where I want user should enter border css code in specific format.
e.g.
<input type="text" name="border_css" id="border_css" class="form-control"> <!-- Expecting this should be readonly -->
input value should be in format = "Npx solid #color"
like 1px dotted #FF0000 / 2px groove rgba(0,0,0,0.8)
Is there any javascript / any other option with 2 dropdowns for border-width and border-style and select color input field which will give output in border-width border-style border-color and put value in readonly input ? (in my example, autofill this value in input with name border_css while keeping it as readonly)
box-shadow generator is available in this format which I used for box-shadow input field.... (https://codepen.io/Montego/pen/oJgtl). But I googled for helpful border generator without any success.