How to add glow to textboxes’ border like we can see in twitter?
Welcome to Sitepoint, Erica.
What you are asking is quite easy, actually :
.glow:focus {
border: 1px solid #07c;
box-shadow: 0 0 10px #07c;
}
Will cause the box to ave that ‘glow’ ( it’s really a shadow) when it has focus. If you are intending to use this for something other than a form element that has focus, replace the ‘:focus’ part of the selector in the code that I provided.
hope that helps
Thanks, it works.