I have a menu and several divs stacked one above the others. I would like each divs to go to top when the relevant link is clicked. I would like to do this with CSS, but any hint with javascript is welcome too. Any idea ?
For those who wonder, I created a UL section and added a :target to UL LI (general) with z-index to 4, and then a :target to the id names of the different LI’s with the effects I want.
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘CSS’ is closed to new topics and replies.