Need more than hover?

I had a hover effect on an html input element but also needed to have an active state. The css was like this for the inputs in mention: [code lang=”css”].contactformdiv input:hover, .contactformdiv textarea:hover { background-color:#fff; }[/code] It was simple, I just added a focus… [code lang=”css”].contactformdiv input:hover, .contactformdiv textarea:hover, .contactformdiv Read more…

By Andrew Odendaal, ago