Styling or Replacing the Standard Select Element - HTML CSS CSS

HTML CSS examples for CSS:Selector

Description

Styling or Replacing the Standard Select Element

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
select<!--from  w w w  . j  a  v a2s.com-->
 {
   width:2.3em;
   height:2.6em;
   background-color:Chartreuse;
   -moz-border-radius:0.3em;
   border-radius:0.3em;
   border:0.7em outset yellow;
   text-align:center;
   color:blue;
   font-weight:bold;
   font-size:5em;
   -webkit-appearance:none;
}
</style> 
 </head> 
 <body> 
  <select> <option>Lor</option> <option>Lor</option> <option>Lor</option> </select>  
 </body>
</html>

Related Tutorials