CSS3 Input styling with round corner - HTML CSS CSS Form

HTML CSS examples for CSS Form:input

Description

CSS3 Input styling with round corner

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">
body {<!--from w w  w  .  java  2s  .com-->
   padding:21px;
}

input:focus {
   outline:none;
   border:3px solid Chartreuse;
}

input {
   border:3px solid yellow;
   border-radius:16px;
   background:blue;
   padding:3px 6px;
}
</style> 
 </head> 
 <body> 
  <input>  
 </body>
</html>

Related Tutorials