21 Aralık 2012 Cuma

CSS dark shadow border

Hello everyone! Today i'm gonna show you how to make dark shadow with CSS
Preview:

How to Use
CSS Codes:
#wrap {border: 1px #eee solid; padding: 7px 7px 20px 7px; -webkit-box-shadow: 0px 0 10px #aaa; -moz-box-shadow: 0px 0 10px #44444; box-shadow: 0px 0 10px #444444; background: #fff; background: -moz-linear-gradient(top, #EEEEEE 0%, #FFFFFF 2%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#EEEEEE), color-stop(2%,#FFFFFF)); }

HTML

<div id="wrap">
....
</div>

For more help please comment!

0 yorum:

Yorum Gönder