Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 6th, 2012  |  syntax: None  |  size: 0.29 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. CSS: What's a good way to create a raised box effect?
  2. -webkit-box-shadow: 0 0 10px rgb(0,0,0);
  3. -moz-box-shadow: 0 0 10px rgb(0,0,0);
  4.        
  5. #foo {
  6.     /* ... */
  7.     border:8px outset #999;
  8.     -webkit-box-shadow: 5px 5px 15px rgba(0,0,0,0.4);
  9.     -moz-box-shadow: 5px 5px 15px rgba(0,0,0,0.4);
  10. }