Jump to content

Forms


yhubu

Recommended Posts

Yes. Just use the :focus and :hover pseudoclasses on your input fields. Here's there CSS as an example: [code]input, textarea{
    background: #fff;
    border: 1px solid #83cde1;
    border-top: 3px solid #83cde1;
}
input:hover, textarea:hover {
    background: #F0FDE2;
    border-top: 3px solid #b1e77a
}
input:focus, textarea:focus {
    background: #FCFFEC;
    border-top: 3px solid #b1e77a
}[/code]
Link to comment
https://forums.phpfreaks.com/topic/8812-forms/#findComment-32459
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.