The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Menu like on this site
How do I get the menu to shrink when the window resizes like the one on here?
Home, Forums, Videos, Downloads and Snippets links
Chris wrote an article regarding this called Media Queries.
Jamy, I think he’s referring to the menu items resizing as your hover over them.
I don’t believe Chris has actually written an article on it, though I do remember him talking about it on an interview… of which I cannot currently find.
Well it’s a trick that can be made playing with the width:
1 2 3 4 5
CSS:
ul { width: 800px; } li{ width: 20%; /*100/5, 20*/ } li:hover{ width:30%; transition: 0.5s all; }
This can be a start point…