We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f7b270 commit 31efdfcCopy full SHA for 31efdfc
docs/primitives/text.md
@@ -21,7 +21,7 @@ Add 2d text captions to the scene.
21
]
22
}
23
```
24
- <div class='center' id='graphics-container-1'></div>
+ <div style='position: relative' class='center' id='graphics-container-1'></div>
25
<script>
26
drawGraphics3d(
27
document.getElementById('graphics-container-1'),
@@ -44,3 +44,8 @@ Add 2d text captions to the scene.
44
45
);
46
</script>
47
+
48
+## Notes
49
+- Currently the text use HTML elements with
50
+ `position: absolute` so the graphics container must have
51
+ `position: relative` if you want to show the text.
0 commit comments