blob: 150fc742f67e600bd2dd341fb0d1c6ad830c7488 (
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 {
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>
|