Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (32 sloc) 696 Bytes
<!DOCTYPE html>
<meta charset="utf-8">
<title>Border image</title>
html {
font-family: sans-serif;
div {
width: 300px;
padding: 20px;
margin: 10px auto;
line-height: 3;
background-color: #f66;
text-align: center;
/* border-related properties */
border: 20px solid black;
background-clip: padding-box;
border-image-source: url(border-image.png);
border-image-slice: 40;
border-image-repeat: round;
border-image-outset: 5px;
<p>Border image</p>
You can’t perform that action at this time.