×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: CSS
Posted by: Wantoi OestKnut
Added: Aug 22, 2014 7:06 AM
Modified: Aug 22, 2014 7:08 AM
Views: 34
Smooth shadows around elements, box-shadow css snippets. *Not support < IE 9
  1. .shadow{
  2.      -webkit-box-shadow:0px 0px 3px 2px #b6b6b6;
  3.      -moz-box-shadow:0px 0px 3px 2px #b6b6b6;
  4.      box-shadow:0px 0px 3px 2px #b6b6b6
  5. }
  6.  
  7. .no_shadow_on_top{
  8.      -webkit-box-shadow:0px 1px 2px 1px #b6b6b6;
  9.      -moz-box-shadow:0px 0px 2px 1px #b6b6b6;
  10.      box-shadow:0px 1px 2px 2px #b6b6b6
  11. }
  12.  
  13. .inside_shadow{
  14.      -webkit-box-shadow:inset 0px -89px 77px -60px rgba(0,0,0,0.31);
  15.      -moz-box-shadow:inset 0px -89px 77px -60px rgba(0,0,0,0.31);
  16.      box-shadow:inset 0px -89px 77px -60px rgba(0,0,0,0.31)
  17. }
  18.  
  19. .bottom_shadow {
  20.      -moz-box-shadow: 0px 5px 5px 1px #3f3f3f;
  21.      -webkit-box-shadow: 0px 5px 5px 1px #3f3f3f;
  22.      box-shadow: 0px 5px 5px 1px #3f3f3f
  23. }