/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
box-shadow: <color> <horizontal offset> <vertical offset> <blur>; .selector { box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; /* Opera 10.5, IE 9.0 */ -moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; /* FF3.5+ */ -webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; /* Saf3.0+, Chrome */ filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0px, OffY=0px, Color='#ffffff'); /* IE6,IE7 */ -ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=0px, OffY=0px, Color='#ffffff')"; /* IE8 */ }