blob: 2c3e5d92bc2ad5e9473e5372076846ba3e261177 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>test of svg-as-border-image</title>
<style>
div.border {
width: 10px;
height: 10px;
background-color: blue;
border: 15px solid;
border-image: 25% url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="25%" height="25%" fill="pink"/><rect x="75%" y="75%" width="25%" height="25%" fill="green"/></svg>');
}
</style>
</head>
<body>
<div class="border"></div>
</body>
</html>
|