blob: d0e1cf68dcc2a3243e390f63156ddb52e0703dd3 [file] [log] [blame]
<html>
<head>
<style>
div {
border-width: 21px 30px 30px 21px;
width: 75px;
height: 75px;
margin: 10px;
display: inline-block;
border-image-source: url("resources/border-image.png") !important;
border-image-slice: 21 30 30 21 fill !important;
}
div.rr {
-webkit-border-image: none 0 0 0 0 repeat repeat;
}
div.rs {
-webkit-border-image: none 0 0 0 0 repeat stretch;
}
div.sr {
-webkit-border-image: none 0 0 0 0 stretch repeat;
}
div.ss {
-webkit-border-image: none 0 0 0 0 stretch stretch;
border-image-slice: 21 30 30 21 !important; // Omit 'fill' to show a hollow center.
}
</style>
</head>
<body>
<div class="rr"></div>
<div class="rs"></div>
<br>
<div class="sr"></div>
<div class="ss"></div>
</body>
</html>