yhubu Posted May 1, 2006 Share Posted May 1, 2006 Hey does anyone know how to build a form that behaves like this one?[a href=\"http://www.cssbeauty.com/contact/\" target=\"_blank\"]http://www.cssbeauty.com/contact/[/a] Quote Link to comment https://forums.phpfreaks.com/topic/8812-forms/ Share on other sites More sharing options...
moberemk Posted May 1, 2006 Share Posted May 1, 2006 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] Quote Link to comment https://forums.phpfreaks.com/topic/8812-forms/#findComment-32459 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.