Return to Snippet

Revision: 37589
at December 13, 2010 06:44 by mb2o


Initial Code
HTML:

<div class="theme_border"></div><div class="theme_example"></div>

CSS:

.theme_example  {
        width:280px;
        height:180px;
        background-image:url('image.png');
        background-repeat:no-repeat;
}

.theme_border   {
        width:250px;
        height:150px;
        border:15px solid #fff; /* rgba(255, 255, 255, 0.1) */
        position:absolute;
        z-index:1;
        opacity:0.1;filter:alpha(opacity=10);

}

Initial URL
http://forrst.com/posts/filtered/code

Initial Description


Initial Title
An inside border with opacity on a div with a background image

Initial Tags


Initial Language
CSS