7 -webkit-perspective:
500px;
27 background-color: green !important;
30 transform: rotate3d(
0,
0,
1,
45deg);
34 background-color: red;
38 transform: rotate3d(
0,
0,
1, -
45deg);
39 -webkit-transform-style: preserve-
3d;
40 background-color: red;
45 <!-- Tests that a transform on a hidden div affects its visible children. -->
46 <!-- You should see a single green box, with no red. -->
49 <div class=
"hidden-indicator box"></div>
53 <div class=
"container">
54 <div class=
"hidden intermediate">
55 <div class=
"visible composited box should-be-visible"></div>