blob: af52adb3042d2c336f12ddc8cae913528b25e4fb (
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
|
<!doctype html>
<html><head>
<title>Border clipping</title>
<style>
.div1 { width: 50px; height: 50px;
border: 10px solid blue;
position: fixed;
background: blue;
left: 50px;
top: 50px;
}
.div2 { width: 50px; height: 50px;
border: 10px solid red;
position: fixed;
background: red;
left: 80px;
top: 80px;
border-radius: 10px;
}
</style>
</head>
<body>
<div class="div1"/>
<div class="div2"/>
</body></html>
|