CSS Library All examples
Welcome to Dynamic Drive's new CSS library! Here you'll find original, practical CSS codes and examples such as CSS menus to give your site a visual boast.
Underline Horizontal Menu
This is a sleek CSS horizontal menu with a popular "underline" effect shown whenever the mouse rolls over a link. Each link (<a>) also carries a background image, used to as the indented line graphic that separates each menu item.
3D CSS buttons
By using an element's border-style CSS attribute to outset, this CSS example shows how to easily create 3D looking CSS buttons that may even appear depressed when the mouse moves over them.
Button Vertical Menu
By giving each menu link a ridge border with contrasting top/left and right/bottom background colors, the result is a slightly beveled button menu.
Bevel Vertical Menu
This CSS creates an "3 state" vertical menu out of an ordinary list. When the mouse moves over the menu, the menu item bevels up. Furthermore, in modern browsers such as Firefox (not IE6), clicking on the menu creates a depressed effect while the mouse is held down.
Bevel horizontal Menu
This CSS code creates a "3 state" horizontal menu out of an ordinary list. When the mouse moves over the menu, the menu item bevels up, and in modern browsers, depressing on the menu also creates a depressed state.