aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/web/css/replaced_element/index.html
diff options
context:
space:
mode:
authorFlorian Dieminger <me@fiji-flo.de>2021-02-11 18:27:17 +0100
committerGitHub <noreply@github.com>2021-02-11 18:27:17 +0100
commitad7f998115dd568832332484debf1f1b16b0c905 (patch)
tree2f3a9137e20731b7f6880fe5adb31fa439215d7d /files/pt-br/web/css/replaced_element/index.html
parent7a94b4d8daf297eda6df8e5cf933f7ba159bbc76 (diff)
parent1d435be33d8b76cd7b06cd06996c19d74f83cfd4 (diff)
downloadtranslated-content-ad7f998115dd568832332484debf1f1b16b0c905.tar.gz
translated-content-ad7f998115dd568832332484debf1f1b16b0c905.tar.bz2
translated-content-ad7f998115dd568832332484debf1f1b16b0c905.zip
Merge pull request #41 from fiji-flo/unslugging-pt-br
Unslugging pt br
Diffstat (limited to 'files/pt-br/web/css/replaced_element/index.html')
-rw-r--r--files/pt-br/web/css/replaced_element/index.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/files/pt-br/web/css/replaced_element/index.html b/files/pt-br/web/css/replaced_element/index.html
new file mode 100644
index 0000000000..48859c2ed8
--- /dev/null
+++ b/files/pt-br/web/css/replaced_element/index.html
@@ -0,0 +1,41 @@
+---
+title: Elemento substituído
+slug: Web/CSS/Replaced_element
+translation_of: Web/CSS/Replaced_element
+original_slug: Web/CSS/Elemento_substituido
+---
+<div>{{CSSRef()}}</div>
+
+<h2 id="Sumario">Sumario</h2>
+
+<p>In CSS, a <strong>replaced element</strong> is an element whose representation is outside the scope of CSS. These are a type of external object whose representation is independent of the CSS. Typical replaced elements are:</p>
+
+<ul>
+ <li>{{HTMLElement("iframe")}}</li>
+ <li>{{HTMLElement("video")}}</li>
+ <li>{{HTMLElement("embed")}}</li>
+ <li>{{HTMLElement("img")}}</li>
+</ul>
+
+<p>Some elements are treated as replaced elements only in specific cases:</p>
+
+<ul>
+ <li>{{HTMLElement("audio")}}</li>
+ <li>{{HTMLElement("canvas")}}</li>
+ <li>{{HTMLElement("object")}}</li>
+ <li>{{HTMLElement("applet")}}</li>
+</ul>
+
+<p>The only form control that is also a replaced element is {{HTMLElement("input")}} of the image type. All other form controls are non-replaced elements.</p>
+
+<p>Objects inserted using the CSS {{cssxref("content")}} properties are <em>anonymous replaced elements</em>.</p>
+
+<p>CSS handles replaced elements specifically in some cases, like when calculating margins and some <code>auto</code> values.</p>
+
+<p>Note that some replaced elements, but not all, have intrinsic dimensions or a defined baseline, which is used by some CSS properties like {{cssxref("vertical-align")}}.</p>
+
+<h2 id="Veja_também">Veja também</h2>
+
+<ul>
+ <li>{{CSS_key_concepts()}}</li>
+</ul>