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.
Depressible Circle Buttons
These large, circular buttons employ CSS3 shadows to create a 3D, depressible effect, with hovering over a button causing it to depress. Multiple lines of text are supported inside each button, which are all centered vertically.
CSS3 checkbox and radio button replacements
The following creates custom looking checkbox and radio button controls, by hiding the default INPUT element of a checkbox and radio button and styling their associated LABEL element instead.
CSS3 oval switch checkboxes
The following uses CSS3 to create slick looking, oval shaped checkbox replacement switches. This is done by hiding each target checkbox and styling its companion LABEL element instead using a mixture of CSS3 gradients, transition, and shadows.
Grayscale Image Gallery
This CSS image gallery renders the thumbnails initially in grayscale until clicked on to reveal a larger version of an image. You can quickly cycle through the thumbnails using the "Tab" key. The grayscale treatment is made possible thanks to CSS filters.
3D Flip Menu
Responsive Iconic Menu
This sleek horizontal menu bar stays tucked away until the user clicks on an icon, revealing the menu. Using CSS3, various parts of the menu are animated, from the menu unveil to the icon flip when clicked on. Pizzazz aside, at its core this is a menu that's highly responsive to various devices and screen sizes.
Flat flipping menu buttons vertical
This is the vertical vesion of the original Flat Flipping menu buttons. They combine the two hot trends that are flat design (absence of bevels, gradients and shadows etc) and CSS3 to create a bold and modern looking navigation system. Each icon inside the button can either be an image, or CSS icon font (as in first example below) for leaner and more rapid deployment. An optional text can be added beneath each button for additional cue.