arranb arranb - 21 days ago 13
CSS Question

CSS navigation bar sliding line below text

Is it possible to make a line move between links when the mouse is hovered over. With a smooth animation.

Home about blog pictures
__-->

Answer

Here it is: http://fiddle.jshell.net/KzFQB/25/ Of course, you need to adapt it a bit, depending on your dive wideness, and so on. But the idea is very simple, i think.

Hope it helps! ^^