CSS Image Drop Shadows Icon

CSS Image Drop Shadows

This examples shows how to add a drop shadow to any container element using CSS.

CSS Image Drop ShadowsOverview

Editor: This examples shows how to add a drop shadow to any container element using CSS and the help of a large shadow image in the background. Virtually identical to the technique used to create a plain CSS shadow, the desired content is wrapped in a DIV with its background image set to an oversized shadow image. The content itself is relatively positioned and shifted slightly upwards and to the left to expose the shadow. A "master" DIV that surrounds the entire markup is also relatively positioned, but shifted to the right and downwards to return the entire markup to it's original position on the page.

IE 6 has difficultly handling nested relatively positioned elements (YADA), so instead of letting IE6 ruin the fun for everyone else, we'll just use conditional HTML to hide the effect in that browser. IE7 is spared for finally learning proper CSS.

NEW

Fixed some bugs.

CSS Image Drop ShadowsInformation

Version
N/A
Date
01.11.10
License
Free
Language
English
File Size
N/A
Developer
Category
SubCategory
Operating Systems
Windows ,Linux,Mac OS,BSD,Solaris
System Requirements
No additional system requirements.
Accordion Menu Icon
Creating an Accordion Menu is trivial using Accordion Content script
Free
Splash Page Script Icon
A splash page is an interlude page that is shown temporarily before the intended
Free
Color Picker Widget Icon
Color Picker script that can be easily integrated into any form field
Free
All Levels Navigational Menu Icon
All Levels Navigational Menu is a CSS/ HTML list based menu
Free
Featured Content Glider Icon
This script lets you painlessly showcase new or featured contents on your page
Free
Accordion Contentscript Icon
Group contents together and reveal them on demand when the user clicks
Free
Preload Image Javascript Icon
Preload images with style, using this practical script
Free
Watermark Background Image Script Icon
"Watermark" is a word most people in the desktop publishing arena
Free
More
Css Only Tab Menu Icon
This is an example of a simple tabbed menu
Free
CSS clearfix Icon
The problem happens when a floated element is within a container box.
Free
CSS vertical align Icon
In HTML the tag has an attribute name valign which can align content vertically
Free
CSS Drop Shadow Icon
Technique to build flexible CSS drop shadows applied to arbitrary block elements
Free
Simple Tabs Icon
These semantic navigational tabs use the least possible markup and CSS.
Free
CSS Gradient Shadow Icon
Lets you add a shadow to most elements on your page with a customizable shadow.
Free
Flashy Links Icon
Flash is cool but leaves a lot to be desired when it comes to accessibility.
Free
Image Replacement Icon
To see this technique in action, simply hover over or focus on the image below.
Free
More