Crossbrowser (Fake) Double-Border

/ Published in: CSS
Save to your folder(s)

A simple way to create a double-border effect (i.e. for images) in all browsers.

Copy this code and paste it in your HTML
  1. selector {
  2. padding: 2px;
  3. background: #DDD;
  4. border: 1px solid #BBB;
  5. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.