Posted By

paulgrenwood on 09/23/09


Tagged

css input forms


Versions (?)

Highlight Text Input Fields


 / Published in: CSS
 

This CSS trick lets you highlight the input field currently in focus. This trick does not work in IE though.

  1. input[type=text]:focus, input[type=password]:focus{
  2. border:2px solid #000;
  3. }

Report this snippet  

You need to login to post a comment.