I am following the transparent border tutorial at CSS-Tricks. However, my code does not render the border transparent. My code (to my eyes) looks correct.
Please see this fiddle
#popup {
position: fixed;
top: 20px;
right: 20px;
width: 300px;
border: 20px solid rgba(0,0,0,0.3);
border-radius: 20px;
-moz-background-clip: padding;
-webkit-background-clip: padding;
background-clip: padding-box;
padding: 10px;
margin: 20px;
background: white;
}
You can see on css-tricks example page that they don't require any double wrapped div tricks. They just set the div background to white, the border to transparent and specify a clip area of padding.