Twitter Style(glow) Textbox Using Css3 new features box-shadow

Introduction

 
Here in this article, we will create twitter style textbox (glow) by using CSS3. Here we put the prient screens of every step from start to end if you want to make it then you can take the help of these images.
 
If facing any problem then put comment
 
1. This is twitter Textbox. Our goal is to give same look to our textbox.
 
 
2. First open VS2010 and add a new asp.net webapp. , Now go inside style folder and open stylesheet and enable CSS 3.0
 
 
3. Now edit the styleSeet with the following code.
 
 
If you want to copy css code then this is the code:-
  1. input.twitterStyleTextbox   
  2. {  
  3.      border1px solid #c4c4c4;  
  4.      width180px;  
  5.      height18px;  
  6.      font-size13px;  
  7.      padding4px 4px 4px 4px;  
  8.      border-radius: 4px;  
  9.      -moz-border-radius: 4px;  
  10.      -webkit-border-radius: 4px;  
  11.      box-shadow: 0px 0px 8px #d9d9d9;  
  12.      -moz-box-shadow: 0px 0px 8px #d9d9d9;  
  13.      -webkit-box-shadow: 0px 0px 8px #d9d9d9;  
  14. }  
  15.   
  16. input.twitterStyleTextbox:focus   
  17. {  
  18.      outlinenone;  
  19.      border1px solid #7bc1f7;  
  20.      box-shadow: 0px 0px 8px #7bc1f7;  
  21.      -moz-box-shadow: 0px 0px 8px #7bc1f7;  
  22.      -webkit-box-shadow: 0px 0px 8px #7bc1f7;  
  23. }?  
4. Now user this stylesheet in your Source code.
 
 
5. Implement cssclass on textboxes
 
 
6. Now your textbox will look like 
 
 
Reference: