Link to home
Start Free TrialLog in
Avatar of jimmycdinata
jimmycdinataFlag for Indonesia

asked on

How to create highlight textbox like gmail did in his login page?

Experts,

How to create a highlight textbox with blue colors like gmail did in his login page? It appears in every browsers firefox, chrome, etc.

Thanks
Avatar of raysonlee
raysonlee

set the border color in CSS like:
  border-color:#4d90fe;
Avatar of jimmycdinata

ASKER

@raysonlee
I need the color when the textbox got focus only
/* This is the CSS class to use when no focus is on the input control */
.input_text
{
   border:1px solid #c0c0c0;
   padding:4px;
   font-size:14px;
   color:#000000;
   background-color:#ffffff;
}
   
/* This is the CSS class to use when the control has focus */
.input_text:focus
{
   border-color:#4d90fe;
}
ASKER CERTIFIED SOLUTION
Avatar of jimmycdinata
jimmycdinata
Flag of Indonesia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I found this:

http://twitter.github.com/bootstrap/javascript.html#

It is solved my problems.
Glad you solved your problem. I'm sure there are many ways to get the same result.
Just want to clarify that my solution will work as well and don't need browser to turn on Javascript support.