CSS : Shadowing the image


http://w3lessons.info/2012/02/15/image-shadow-using-css/

<pre>/* SHADOWS */

.shadow_120{
	background:#FFF url(images/shadow_120.png) no-repeat center bottom;
	padding:0 0 20px 0;
}

.shadow_200{
	background:#FFF url(images/shadow_200.png) no-repeat center bottom;
	padding:0 0 18px 0;
}

.shadow_240{
	background:#FFF url(images/shadow_240.png) no-repeat center bottom;
	padding:0 0 20px 0;
}

.shadow_340{
	background:#FFF url(images/shadow_340.png) no-repeat center bottom;
	padding:0 0 20px 0;
}

.shadow_280{
	background:#FFF url(images/shadow_280.png) no-repeat center bottom;
	padding:0 0 20px 0;
}

.shadow_440{
	background:#FFF url(images/shadow_440.png) no-repeat center bottom;
	padding:0 0 20px 0;
}

.shadow_600{
	background:#FFF url(images/shadow_600.png) no-repeat center bottom;
	padding:0 0 20px 0;
}
</pre>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s