| <html> |
| <head> |
| <style> |
| div { |
| border-width: 21px 30px 30px 21px; |
| border-style: solid; |
| width: 75px; |
| height: 75px; |
| margin: 10px; |
| display: inline-block; |
| border-image-source: url("resources/border-image.png"); |
| border-image-slice: 21 30 30 21 fill; |
| border-image-width: 30; |
| } |
| |
| 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> |