blob: 6d9e0ddfcf73a3d6352fd52b654009fc549b2326 (
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
|
<html>
<body>
<style>
html {
-moz-transform-style: preserve-3d;
}
div,html {
display: inline-grid;
grid-template-columns: subgrid;
}
div {
position: fixed;
}
</style>
<script>
window.addEventListener('load', () => {
const div = document.createElementNS('http://www.w3.org/1999/xhtml', 'div')
const text = document.createTextNode('BAR')
div.appendChild(text)
document.documentElement.appendChild(div)
})
</script>
</body>
</html>
|