Skip to content

Commit 8889998

Browse files
committed
[css-transforms-2] Restore some missing parts of an example.
This copies a few styles from the previous example that are also needed in this one.
1 parent d29dc95 commit 8889998

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

css-transforms-2/Overview.bs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,13 @@ Note: Because the 3D-transformed elements in a 3D rendering context can all dept
355355
<div class="example">
356356
<pre>
357357
&lt;style>
358+
div {
359+
height: 150px;
360+
width: 150px;
361+
}
358362
.scene {
359363
background-color: rgba(0, 0, 0, 0.3);
364+
border: 1px solid black;
360365
perspective: 500px;
361366
}
362367
.container {
@@ -382,6 +387,7 @@ Note: Because the 3D-transformed elements in a 3D rendering context can all dept
382387

383388
&lt;div class="scene">
384389
&lt;div class="container">
390+
Lorem ipsum dolor sit amet, consectetaur adipisicing elit&hellip;
385391
&lt;div>&lt;/div>
386392
&lt;div>&lt;/div>
387393
&lt;/div>

0 commit comments

Comments
 (0)