<html> | |
<head> | |
<style> | |
div { | |
border-width: 21px 30px 30px 21px; | |
width: 75px; | |
height: 75px; | |
display: inline-block; | |
-webkit-border-image: url("resources/border-image.png") 21 30 30 21 / 1 / 21px 30px 30px 21px stretch; | |
margin:30px; | |
} | |
div.rr { | |
border-image-repeat: repeat; | |
} | |
div.rs { | |
border-image-repeat: repeat stretch; | |
} | |
div.sr { | |
border-image-repeat:stretch repeat; | |
} | |
div.ss { | |
border-image-repeat: stretch; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="rr"></div> | |
<div class="rs"></div> | |
<br> | |
<div class="sr"></div> | |
<div class="ss"></div> | |
</body> | |
</html> |