gecko-dev/layout/reftests/scrolling/move-item-ref.html

28 строки
477 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<style type="text/css">
#a_box {
overflow:auto;
width:100px;
height:100px;
border:1px solid black;
}
#item {
transform: translate(80px, 80px);
width:40px;
height:40px;
position:relative;
background-color:#666;
}
</style>
</head>
<body>
<div id="a_box">
<div id="item"></div>
</div>
</script>
</body>
</html>