Style the Element that has Focus in a Form - CSS Tricks - CSS Views : 373
Tagged in : CSS
0 0
Send mail
Style the Element that has Focus in a Form

A nice usability tip is to let people filling out a form know which input currently has focus. You can do this easily using the :focus pseudo-selector

input:focus { border: 2px solid green; }


This way your users will know exactly which field is ready for input
By Rekha, On - 2010-03-30



    Login to add Comments .