Posted By

duylong186 on 01/25/13


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

danfinrud55


transparent glass css


 / Published in: C#
 

transparent glass css

  1. .box {
  2. background: #f0edcc;
  3. background-clip: padding-box; /* Background stops at border */
  4. border: 4px solid rgba(255,255,255,.2);
  5. border-radius: 3px;
  6. box-shadow:
  7. 0 0 1px rgba(255,255,255,.8), /* Bright outer highlight */
  8. 0 0 3px rgba(0,0,0,.8), /* Outer shadow */
  9. 1px 1px 0 rgba(0,0,0,.8) inset, /* Inner shadow (top + left) */
  10. -1px -1px 0 rgba(0,0,0,.8) inset; /* Inner shadow (bottom + right) */
  11. padding: 10px;
  12. }

Report this snippet  

You need to login to post a comment.