39 lines
965 B
HTML
39 lines
965 B
HTML
<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>
|