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.
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.
Flat flipping menu buttons
These menu buttons 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.
Pop up form labels
When it comes to filling out form fields, any contextual help is always appreciated. This CSS code takes the label element of a form field and transforms it into a pop up label that's sure to get noticed, not to mention provide guidance. It uses CSS child and adjacent selectors to automatically select the label element that immediately follows the corresponding form element, and with CSS3 transform and positioning, pop it up into view.
CSS3 Sonar Menu
CSS3 Sonar Menu is a horizontal list menu that highlights each menu link with a pulsating sonar effect.