girl Posted October 3, 2012 Share Posted October 3, 2012 Hello ppl. I have a question.I want to have usual menu... but when I click on menu item, body background-image is changed. It is like a:hover a:activethe background image is different.. Is it possible with css.Thanks Link to comment Share on other sites More sharing options...
Ingolme Posted October 3, 2012 Share Posted October 3, 2012 You need Javascript for that.If you don't know any Javascript, look at the W3Schools tutorial and pay special attention to the section about event handlers. Link to comment Share on other sites More sharing options...
oknoorap Posted October 4, 2012 Share Posted October 4, 2012 Yes its very possible... usebackground-image, background-position, background-repeatin every pseudo properties, instead of background: Link to comment Share on other sites More sharing options...
Ingolme Posted October 4, 2012 Share Posted October 4, 2012 I'd be glad to see a CSS selector that could select the <body> element that a hovered <a> element belongs to. 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