|
|
@@ -13,7 +13,7 @@
|
|
|
<section>
|
|
|
<header>
|
|
|
<div class="class-description"><p>This renderer can be used to apply hierarchical 3D transformations to DOM elements
|
|
|
-via the CSS3 <a href="https://www.w3schools.com/cssref/css3_pr_transform.asp">transform</a> property.
|
|
|
+via the CSS3 <a href="https://www.w3schools.com/cssref/css3_pr_transform.asp" target="_blank" rel="noopener">transform</a> property.
|
|
|
<code>CSS3DRenderer</code> is particularly interesting if you want to apply 3D effects to a website without
|
|
|
canvas based rendering. It can also be used in order to combine DOM elements with WebGLcontent.</p>
|
|
|
<p>There are, however, some important limitations:</p>
|
|
|
@@ -27,7 +27,7 @@ canvas based rendering. It can also be used in order to combine DOM elements wit
|
|
|
</header>
|
|
|
<article>
|
|
|
<h2 class="subsection-title">Import</h2>
|
|
|
- <p><span translate="no">CSS3DRenderer</span> is an addon, and must be imported explicitly, see <a href="https://threejs.org/manual/#en/installation" target="_blank">Installation#Addons</a>.</p>
|
|
|
+ <p><span translate="no">CSS3DRenderer</span> is an addon, and must be imported explicitly, see <a href="https://threejs.org/manual/#en/installation" target="_blank" rel="noopener">Installation#Addons</a>.</p>
|
|
|
<pre><code class="language-js">import { CSS3DRenderer } from 'three/addons/renderers/CSS3DRenderer.js';</code></pre>
|
|
|
<div class="container-overview">
|
|
|
<h2>Constructor</h2>
|
|
|
@@ -143,7 +143,7 @@ If not passed in here, a new div element will be created.</p>
|
|
|
</div>
|
|
|
<h2 class="subsection-title">Source</h2>
|
|
|
<p>
|
|
|
- <a href="https://github.com/mrdoob/three.js/blob/master/examples/jsm/renderers/CSS3DRenderer.js" target="_blank" rel="noopener" translate="no">examples/jsm/renderers/CSS3DRenderer.js</a>
|
|
|
+ <a href="https://github.com/mrdoob/three.js/blob/master/examples/jsm/renderers/CSS3DRenderer.js" translate="no" target="_blank" rel="noopener">examples/jsm/renderers/CSS3DRenderer.js</a>
|
|
|
</p>
|
|
|
</article>
|
|
|
</section>
|