blob: 339a1fd3bfb3fc873fe29ab8ab918e241962693d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>test of border-image-source: linear-gradient with border-image-repeat</title>
<style>
div {
border: 30px solid black;
border-image: linear-gradient(to bottom right, red, blue);
width: 180px;
height: 180px;
}
div.borderrepeat {
border-image-repeat: repeat;
}
div.border12repeat {
border-image-repeat: repeat;
border-image-slice: 12;
}
div.border30repeat {
border-image-repeat: repeat;
border-image-slice: 30;
}
</style>
</head>
<body>
<div class="borderrepeat"></div>
<div class="border12repeat"></div>
<div class="border30repeat"></div>
</body>
</html>
|