/ Published in: CSS
Using an image background for a photo allows all kinds of framing possibilities
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
CSS: .outerFrm { background-image:url(/path/BGimage.jpg); border-radius:50%; padding:15px; box-shadow:1px 1px 3px 3px purple; } img.round { border-radius:50%; } HTML: <div class="outerFrm"> <img class="round" src="/path/img.jpg" alt="k" /> </div>
URL: http://coboldinosaur.com/pages/Frames_For_Photos.html