blob: 0f9197e1f6fdec1e2f180cfceae06b81c9e24a3a (
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
31
32
33
34
35
36
37
38
39
40
41
42
|
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>CSS mask-clip reference</title>
<link rel="author" title="Astley Chen" href="mailto:aschen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<style type="text/css">
div {
position: absolute;
top: 10px;
background-color: purple;
}
div.border {
left: 10px;
margin: 1px 4px;
width: 60px;
height: 25px;
}
div.padding {
left: 110px;
margin: 9px 10px;
width: 52px;
height: 17px;
}
div.content {
left: 210px;
margin: 15px 13px;
width: 40px;
height: 11px;
}
</style>
</head>
<body>
<div class="color border"></div>
<div class="color padding"></div>
<div class="color content"></div>
</body>
</html>
|