HTML CSS examples for CSS Form:input select
Change the border of select drop down
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> select:focus {<!-- ww w . ja va 2s . c om--> border: 2px solid red; outline: 2px solid red; } </style> </head> <body> <p>Press Tab</p> <input type="checkbox"> Check 1 <br> <input type="checkbox"> Check 2 <p> Select <select> <option>Option 1</option> <option>Option 2</option> <option>Option 3</option> <option>Option 4</option> </select> </p> <p> Select <select> <option>Option 1</option> <option>Option 2</option> <option>Option 3</option> <option>Option 4</option> </select> </p> <p> <button>Button 1</button> </p> </body> </html>