![css3 menu animation css3 menu animation](https://www.jqueryscript.net/images/Animated-Radial-Menu-with-jQuery-CSS3-Transitions.jpg)
Better Text UnderlineĪt first glance you may not notice anything different with this underline.
#Css3 menu animation code#
Plus all of the results can be altered in the CSS code which includes easings and total duration. You can design your navigation menus just like any other site and use this CSS effect to create dynamic sliding animations. It’s a pretty elegant solution considering it doesn’t even require an extra HTML item. Sliding Underlineĭeveloper Ryan Morse created this very simple sliding underline effect reliant solely on CSS. Plus this whole thing uses a custom CSS3 gradient for the background which is pretty darn cool. But it’s also dynamic enough to work with any link on the page, so it doesn’t matter how you format the text. Note this does rely on a bit of JavaScript to keep the line in-tact. But with some ingenuity developer Will King built this pen creating a dynamic underline effect that can span multiple lines without any bugs. Spanning Multiple LinesĬSS line break styles are tricky and not easy to work around. Surprisingly simple considering how little code you need (about 60 lines of CSS). You can do all of this yourself with a bit of CSS by adding the underlined block into an HTML element. Not only that, but it moves across the nav dynamically to give the illusion that it’s one singular block. The underline effect in the nav menu actually changes styles between links. If you move your cursor between these links you’ll notice something kinda funny.