Posted By

stiobhart on 02/26/11


Tagged

css drop shadow


Versions (?)

CSS - drop shadow


 / Published in: CSS
 

CSS box shadow syntax - just because i can never remember the order of the attributes, off the top of my head!

  1. /* offset-x, offset-y, blur, spread, colour rgba(R,G,B, alpha) */
  2. -webkit-box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.4);
  3. -moz-box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.4);
  4. box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.4);

Report this snippet  

You need to login to post a comment.