2014-07-04 15:48:15 +04:00
|
|
|
<!DOCTYPE html>
|
2017-07-27 08:53:46 +03:00
|
|
|
<html class="reftest-paged">
|
2014-07-04 15:48:15 +04:00
|
|
|
<head>
|
|
|
|
<title>AbsPos Pagination, with clip:rect()</title>
|
|
|
|
<style type="text/css">
|
|
|
|
html, body, pre { margin: 0; padding: 0; }
|
|
|
|
div {
|
|
|
|
position: absolute;
|
|
|
|
top: 100px;
|
|
|
|
border: 10px solid blue;
|
|
|
|
width: 50px;
|
|
|
|
height: 300px;
|
|
|
|
}
|
|
|
|
#mask1 {
|
|
|
|
border-color: white;
|
|
|
|
background: white;
|
|
|
|
clip:rect(0px, auto, 200px, 0px);
|
|
|
|
}
|
|
|
|
#mask2 {
|
|
|
|
border-color: white;
|
|
|
|
background: white;
|
|
|
|
clip:rect(200px, 5px, auto, 0px);
|
|
|
|
}
|
|
|
|
#mask3 {
|
|
|
|
border-color: white;
|
|
|
|
background: white;
|
|
|
|
clip:rect(250px, auto, auto, 0px);
|
|
|
|
}
|
|
|
|
#mask4 {
|
|
|
|
border-color: white;
|
|
|
|
background: white;
|
|
|
|
clip:rect(200px, auto, auto, 65px);
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div></div><div id="mask1"></div><div id="mask2"></div><div id="mask3"></div><div id="mask4"></div>
|
|
|
|
</body>
|
|
|
|
</html>
|