|
|
Style the Element that has Focus in a Form - CSS Tricks - CSS
|
Views : 373
|
|
Tagged in : CSS
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
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 |
|
|
|