:focus styling on custom radio input - HTML CSS CSS Form

HTML CSS examples for CSS Form:input radio button

Description

:focus styling on custom radio input

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">
input:focus, input:hover {
   outline:3px auto Chartreuse;
   outline-offset:-3px;
}
</style> <!--from w  w  w .ja v  a  2s .c  o m-->
 </head> 
 <body> 
  <input id="inp" type="radio">Lorem ip 
  <input type="radio">Lorem ip 
  <input type="radio">Lorem ip 
  <input type="radio">Lorem ip 
  <input type="radio">Lorem ip  
 </body>
</html>

Related Tutorials