servo/tests/wpt/css-tests/css-masking-1_dev/html/reference/mask-repeat-3-ref.htm

40 lines
No EOL
926 B
HTML

<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Masking: mask-repeat: repeated mask layer image</title>
<link href="mailto:aschen@mozilla.com" rel="author" title="Astley Chen">
<link href="https://www.mozilla.org" rel="author" title="Mozilla">
<style type="text/css">
div.outer {
width: 150px;
height: 150px;
border: 1px solid black;
}
.color {
background-color: purple;
}
#round {
width: 150px;
height: 150px;
}
#round-x {
width: 150px;
height: 50px;
}
#round-y {
width: 50px;
height: 150px;
}
</style>
</head>
<body>
<div class="outer"><div id="round" class="color"></div></div>
<div class="outer"><div id="round-x" class="color"></div></div>
<div class="outer"><div id="round-y" class="color"></div></div>
</body></html>