/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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); }
URL: http://forrst.com/posts/filtered/code