Monday, July 11, 2011

Transparent backgrounds with CSS

Simple method: 
#lightbox {
   background: white;
   border: 20px solid rgba(0,0,0,0.3);
}
 
There may be more to it depending on what you want to accomplish 
(where does the transparency begin and end?):
http://css-tricks.com/7423-transparent-borders-with-background-clip/ 

No comments:

Post a Comment