Skip to content

Instantly share code, notes, and snippets.

@dhunmoon
Last active September 25, 2015 06:51
Show Gist options
  • Save dhunmoon/0ce88da35e6447fdd8ba to your computer and use it in GitHub Desktop.
Save dhunmoon/0ce88da35e6447fdd8ba to your computer and use it in GitHub Desktop.
CSS: Border Image
/*
Links to Border Image Generator Tool: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Background_and_Borders/Border-image_generator
and
http://border-image.com/
Syntax:
border-image: [link to image] [top offset] [right offset] [bottom offset] [left offset] [round | stretch | repeat]
*/
-moz-border-image: url(http://www.w3.org/TR/css3-background/border.png) 27 27 28 round;
-webkit-border-image: url(http://www.w3.org/TR/css3-background/border.png) 27 27 28 round;
-o-border-image: url(http://www.w3.org/TR/css3-background/border.png) 27 27 28 round;
border-image: url(http://www.w3.org/TR/css3-background/border.png) 27 27 28 round;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment