w3schoon Posted February 28, 2013 Share Posted February 28, 2013 Nice be with you everyone! Question:1. How to select multiple id's or elements with hover?I want to simplify this, // CSS or JQuery Selector#id:hover, #name:hover, #age:hover{ } to this one, (#id, #name, #age):hover{ // I know this is wrong selector but is there any way to select like this one for optimisation?} Thank you in advance! Link to comment Share on other sites More sharing options...
dsonesuk Posted March 1, 2013 Share Posted March 1, 2013 Give these elements a class name and use that one single class with hover. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now