Set transparent border DIV

From wiki.network-crawler.de
Jump to: navigation, search
div {
    border: 1px solid rgba(255, 255, 255, .5);
    -webkit-background-clip: padding-box; /* Safari */
    background-clip: padding-box; /* IE9+, Firefox 4+, Opera, Chrome */
}