Css checkbox style for border color - HTML CSS CSS Form

HTML CSS examples for CSS Form:input checkbox

Description

Css checkbox style for border color

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">

.error input[type=checkbox] {
   outline: 2px solid #c00;
}
      </style> 
 </head> <!--from   w w w.j  av  a  2  s .  c  o m-->
 <body> 
  <div class="error"> 
   <input type="checkbox"> 
   <label>Some label</label> 
   <br> 
  </div>  
 </body>
</html>

Related Tutorials