html - Custom dropdown box using javascript? -
Can we write custom dropdown boxes using javascript, html, css
Yes you can. CSS goes with it like this
Add some squares to your CSS page, such as:
. Cmd Incredible {width: 200px; Font-family: Trebuchet MS; Background color: # 0b5925; Color: # d4d5d4; Border: dashed 2px # f2f2f2; }. CMD incredible option {color: # f2f2f2; Border bottom: solid 0px white; Border: dashed 2px # f2f2f2; Margin-left: 15px; } Then enter a square of your selection box:
Comments
Post a Comment