diff options
author | Ryan Johnson <rjohnson@mozilla.com> | 2021-04-29 16:16:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 16:16:42 -0700 |
commit | 95aca4b4d8fa62815d4bd412fff1a364f842814a (patch) | |
tree | 5e57661720fe9058d5c7db637e764800b50f9060 /files/pt-pt/web/css/transform/index.html | |
parent | ee3b1c87e3c8e72ca130943eed260ad642246581 (diff) | |
download | translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.gz translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.bz2 translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.zip |
remove retired locales (#699)
Diffstat (limited to 'files/pt-pt/web/css/transform/index.html')
-rw-r--r-- | files/pt-pt/web/css/transform/index.html | 238 |
1 files changed, 0 insertions, 238 deletions
diff --git a/files/pt-pt/web/css/transform/index.html b/files/pt-pt/web/css/transform/index.html deleted file mode 100644 index 25f3a546a3..0000000000 --- a/files/pt-pt/web/css/transform/index.html +++ /dev/null @@ -1,238 +0,0 @@ ---- -title: transform -slug: Web/CSS/transform -tags: - - CSS - - Experimental - - NeedsBrowserCompatibility - - Propriedade - - Propriedade de CSS - - Referencia - - Transforms -translation_of: Web/CSS/transform ---- -<div>{{CSSRef}}{{SeeCompatTable}}</div> - -<p>The CSS <strong><code>transform</code></strong> property lets you modify the coordinate space of the CSS visual formatting model. Using it, elements can be translated, rotated, scaled, and skewed.</p> - -<pre class="brush: css no-line-numbers">/* Keyword values */ -transform: none; - -/* Function values */ -transform: matrix(1.0, 2.0, 3.0, 4.0, 5.0, 6.0); -transform: translate(12px, 50%); -transform: translateX(2em); -transform: translateY(3in); -transform: scale(2, 0.5); -transform: scaleX(2); -transform: scaleY(0.5); -transform: rotate(0.5turn); -transform: skew(30deg, 20deg); -transform: skewX(30deg); -transform: skewY(1.07rad); -transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); -transform: translate3d(12px, 50%, 3em); -transform: translateZ(2px); -transform: scale3d(2.5, 1.2, 0.3); -transform: scaleZ(0.3); -transform: rotate3d(1, 2.0, 3.0, 10deg); -transform: rotateX(10deg); -transform: rotateY(10deg); -transform: rotateZ(10deg); -transform: perspective(17px); - -/* Multiple function values */ -transform: translateX(10px) rotate(10deg) translateY(5px); - -/* Global values */ -transform: inherit; -transform: initial; -transform: unset; -</pre> - -<p>If the property has a value different than <code>none</code>, a <a href="/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context">stacking context</a> will be created. In that case the object will act as a containing block for <code>position</code><code>: fixed</code> elements that it contains.</p> - -<p>{{cssinfo}}</p> - -<h2 id="Sintaxe">Sintaxe</h2> - -<p>The <code>transform</code> property may be specified as either the keyword value <code><a href="#none">none</a></code> or as one or more <code><a href="#<transform-function>"><transform-function></a></code> values.</p> - -<h3 id="Valores">Valores</h3> - -<dl> - <dt><a id="<transform-function>" name="<transform-function>"><code><transform-function></code></a></dt> - <dd>One or more of the <a href="/en-US/docs/Web/CSS/transform-function">CSS transform functions</a> to be applied, see below. Composite transforms are effectively applied in order from right to left.</dd> - <dt><a id="none" name="none"><code>none</code></a></dt> - <dd>Specifies that no transform should be applied.</dd> -</dl> - -<h3 id="Formal_syntax">Formal syntax</h3> - -{{csssyntax}} - -<h2 id="Exemplos">Exemplos</h2> - -<p>See <a href="/en-US/docs/Web/Guide/CSS/Using_CSS_transforms">Using CSS transforms</a>.</p> - -<h2 id="Live_example">Live example</h2> - -<h3 id="HTML_content">HTML content</h3> - -<pre class="brush: html"><p>Transformed element</p></pre> - -<h3 id="CSS_content">CSS content</h3> - -<pre class="brush: css">p { - border: solid red; - - -webkit-transform: translate(100px) rotate(20deg); - -webkit-transform-origin: 0 -250px; - - transform: translate(100px) rotate(20deg); - transform-origin: 0 -250px; -}</pre> - -<p>{{EmbedLiveSample("Live_example", "400", "170")}}</p> - -<h2 id="Especificações">Especificações</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('CSS Transforms 2', '#transform-functions', 'transform')}}</td> - <td>{{Spec2('CSS Transforms 2')}}</td> - <td>Adds 3D transform functions.</td> - </tr> - <tr> - <td>{{SpecName('CSS3 Transforms', '#transform-property', 'transform')}}</td> - <td>{{Spec2('CSS3 Transforms')}}</td> - <td>Initial definition</td> - </tr> - </tbody> -</table> - -<h2 id="Compatibilidade_do_navegador">Compatibilidade do navegador</h2> - -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Funionalidade</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Suporte básico</td> - <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}<br> - 36</td> - <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}<br> - {{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop("1.9.1")}}{{property_prefix("-moz")}}<sup>[1]</sup><br> - {{CompatGeckoDesktop("16.0")}}<sup>[2]</sup></td> - <td>9.0{{property_prefix("-ms")}}<sup>[3]</sup><br> - 10.0</td> - <td>10.5{{property_prefix("-o")}}<br> - 12.10<br> - 15.0{{property_prefix("-webkit")}}<br> - 23</td> - <td>3.1{{property_prefix("-webkit")}}<br> - 9.0</td> - </tr> - <tr> - <td>Suporte 3D</td> - <td>12.0{{property_prefix("-webkit")}}<br> - 36</td> - <td>{{CompatVersionUnknown}}</td> - <td>10.0{{property_prefix("-moz")}}<br> - {{CompatGeckoDesktop("16.0")}}</td> - <td>10.0</td> - <td>15.0{{property_prefix("-webkit")}}<br> - 23</td> - <td> - <p>4.0{{property_prefix("-webkit")}}<br> - 9.0</p> - </td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Funcionalidade</th> - <th>Android</th> - <th>Chrome for Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Suporte básico</td> - <td>{{CompatAndroid(2.1)}}{{property_prefix("-webkit")}}<sup>[4]</sup></td> - <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}</td> - <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}<br> - {{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}<br> - 11.0{{property_prefix("-webkit")}}<sup>[5]</sup></td> - <td>11.5{{property_prefix("-webkit")}}</td> - <td>3.2 {{CompatVersionUnknown}}{{property_prefix("-webkit")}}<br> - 9.0</td> - </tr> - <tr> - <td>Suporte 3D</td> - <td>{{CompatAndroid(3.0)}}{{property_prefix("-webkit")}}</td> - <td>{{CompatVersionUnknown}}{{ property_prefix("-webkit")}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>22{{property_prefix("-webkit")}}</td> - <td>3.2 {{CompatVersionUnknown}}{{property_prefix("-webkit")}}<br> - 9.0</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] Gecko 14.0 removed the experimental support for <code>skew()</code>, but it was reintroduced in Gecko 15.0 for compatibility reasons. As it is non-standard and will likely be removed in the future, do not use it.</p> - -<p>[2] Before Firefox 16, the translation values of <code>matrix()</code> and <code>matrix3d()</code> could be {{cssxref("<length>")}}, in addition to the standard {{cssxref("<number>")}}.</p> - -<p>In addition to the unprefixed support, Gecko 44.0 {{geckoRelease("44.0")}} added support for a <code>-webkit</code> prefixed version of the property for web compatibility reasons behind the preference <code>layout.css.prefixes.webkit</code>, defaulting to <code>false</code>. Since Gecko 49.0 {{geckoRelease("49.0")}} the preference defaults to <code>true</code>.</p> - -<p>[3] Internet Explorer 5.5 or later supports a proprietary <a href="https://msdn.microsoft.com/en-us/library/ms533014(VS.85,loband).aspx">Matrix Filter</a> which can be used to achieve a similar effect.</p> - -<p>Internet Explorer 9.0 or earlier has no support for 3D transforms. Mixing 3D and 2D transform functions, such as <code>-ms-transform:rotate(10deg) translateZ(0);</code>, will prevent the entire property from being applied.</p> - -<p>Internet Explorer does not support the global values <code>initial</code> and <code>unset.</code></p> - -<p>[4] Android 2.3 has a bug where input forms will "jump" when typing, if any container element has a <code>-webkit-transform</code>.</p> - -<p>[5] Internet Explorer 11.0 supports the {{property_prefix("-webkit")}} <a href="https://msdn.microsoft.com/library/jj127312#code-snippet-1">prefixed variant as an alias for the default one</a>.</p> - -<h2 id="Consultar_também">Consultar também</h2> - -<ul> - <li><a href="/en-US/docs/CSS/Using_CSS_transforms">Using CSS Transforms</a></li> - <li><a href="/en-US/docs/Web/CSS/transform-function"><translation-function></a> data type</li> - <li><a href="https://www.paulirish.com/2010/introducing-css3please/#comment-36380">More info</a> on CSS3 Rotation / Matrix Filter issues in the comments on Paul Irish's blog.</li> - <li>A cross-browser 2D <a href="https://louisremi.github.io/jquery.transform.js/">transform plugin for jQuery</a></li> -</ul> |