зеркало из https://github.com/mozilla/gecko-dev.git
22 строки
290 B
HTML
22 строки
290 B
HTML
<html>
|
|
<head>
|
|
<style>
|
|
.fixedpos {
|
|
transform: translateX(0px);
|
|
position: fixed;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100px;
|
|
background: red;
|
|
}
|
|
.filler {
|
|
height: 4000px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body onload="scrollTo(0,200)">
|
|
<div class="fixedpos"></div>
|
|
<div class="filler"></div>
|
|
</body>
|
|
</html>
|