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

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -