CSS - Adding an image-based border – border-image


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



Copy this code and paste it in your HTML
  1. #border-image-style {
  2. border-width:15px;
  3. /* 3 types of border exist repeated, rounded or stretched (repeat / round / stretch) */
  4. -moz-border-image:url(border.png) 30 30 stretch ;
  5. -webkit-border-image:url(border.png) 30 30 stretch;
  6. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.