aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/css/transform-style/index.html
blob: 9262a1cc54c68e63a76bb86411e41cfd56e1e3bb (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
title: transform-style
slug: Web/CSS/transform-style
translation_of: Web/CSS/transform-style
---
<div>{{CSSRef("CSS Transforms")}}{{SeeCompatTable}}</div>

<p>Свойство <code>transform-style</code> <a href="/en-US/docs/Web/CSS">CSS</a> определяет положение дочернего элемента в 3D-пространстве или в той же плоскости, что и родительский элемент.</p>

<p>Если flat, то дочерний элемент  не будет существовать в своём собственном 3D-пространстве.</p>

<p>Поскольку это свойство не наследуется, его следует устанавливать для всех не прямых потомков элемента.</p>

<p>{{cssinfo}}</p>

<h2 id="Syntax">Syntax</h2>

<pre class="brush:css">/* Keyword values */
transform-style: preserve-3d;
transform-style: flat;

/* Global values */
transform-style: inherit;
transform-style: initial;
transform-style: unset;
</pre>

<h3 id="Values">Values</h3>

<dl>
 <dt><code>preserve-3d</code></dt>
 <dd>Показывает, что дочерний элемент должен быть спозиционирован в 3D-пространстве.</dd>
 <dt><code>flat</code></dt>
 <dd>Показывает, что дочерний элемент лежит в той же плоскости, что и родительский.</dd>
</dl>

<h3 id="Formal_syntax">Formal syntax</h3>

{{csssyntax}}

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comment</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{SpecName('CSS3 Transforms', '#transform-style', 'transform-style')}}</td>
   <td>{{Spec2('CSS3 Transforms')}}</td>
   <td>Initial definition</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat("css.properties.transform-style")}}</p>

<h2 id="See_also">See also</h2>

<ul>
 <li><a href="/en-US/docs/CSS/Using_CSS_transforms">Using CSS Transforms</a></li>
</ul>