/ Published in: CSS
CSS box shadow syntax - just because i can never remember the order of the attributes, off the top of my head!
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* offset-x, offset-y, blur, spread, colour rgba(R,G,B, alpha) */ -webkit-box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.4); -moz-box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.4); box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.4);