aboutsummaryrefslogtreecommitdiff
path: root/files/ca/web/css/_doublecolon_backdrop/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ca/web/css/_doublecolon_backdrop/index.html')
-rw-r--r--files/ca/web/css/_doublecolon_backdrop/index.html143
1 files changed, 143 insertions, 0 deletions
diff --git a/files/ca/web/css/_doublecolon_backdrop/index.html b/files/ca/web/css/_doublecolon_backdrop/index.html
new file mode 100644
index 0000000000..dccf033dee
--- /dev/null
+++ b/files/ca/web/css/_doublecolon_backdrop/index.html
@@ -0,0 +1,143 @@
+---
+title: '::backdrop'
+slug: 'Web/CSS/::backdrop'
+tags:
+ - CSS
+ - Full-screen
+ - Layout
+ - NeedsContent
+ - Pseudo-element
+ - Reference
+translation_of: 'Web/CSS/::backdrop'
+---
+<div>{{CSSRef}} {{SeeCompatTable}}</div>
+
+<p>El {{Cssxref("pseudo-elements", "pseudo-element")}} <a href="https://developer.mozilla.org/en-US/docs/Web/CSS">CSS</a>  <strong><code>::backdrop</code></strong> és una caixa situada immediatament per sota d'un element visualitzat en mode de <a href="/en-US/docs/Web/API/Fullscreen_API">pantalla completa</a>  (i per sobre de qualsevol element inferior de la pila). Els elements de pantalla completa formen part de la pila de la <a href="https://fullscreen.spec.whatwg.org/#top-layer">capa superior</a>, és a dir, es representen davant de qualsevol altre contingut.</p>
+
+<pre class="brush: css no-line-numbers">dialog::backdrop {
+ background: rgba(255,0,0,.25);
+}</pre>
+
+<p>El pseudo-element <code>::backdrop</code> es pot utilitzar per donar estil o ocultar el document subjacent d'un element que es mostra a pantalla completa.</p>
+
+<p><code>::backdrop</code> no hereta de cap element i no és hereditari. No es fa cap restricció sobre quines propietats s'apliquen a aquest pseudo-element.</p>
+
+<h2 id="Especificacions">Especificacions</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Especificació</th>
+ <th scope="col">Estat</th>
+ <th scope="col">Comentari</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('Fullscreen', '#::backdrop-pseudo-element', '::backdrop')}}</td>
+ <td>{{Spec2('Fullscreen')}}</td>
+ <td>Definició inicial.</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Navegadors_compatibles">Navegadors compatibles</h2>
+
+<p>{{CompatibilityTable}}</p>
+
+<div id="compat-desktop">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Descripció</th>
+ <th>Chrome</th>
+ <th>Edge</th>
+ <th>Firefox (Gecko)</th>
+ <th>Internet Explorer</th>
+ <th>Opera</th>
+ <th>Safari</th>
+ </tr>
+ <tr>
+ <td>Suport bàsic</td>
+ <td>32.0 {{property_prefix("webkit")}}<br>
+ 37.0</td>
+ <td>{{CompatVersionUnknown}}{{property_prefix("ms")}}</td>
+ <td>{{CompatGeckoDesktop("47")}} <sup>[1]</sup></td>
+ <td>11 {{property_prefix("ms")}}</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ </tr>
+ <tr>
+ <td>en <code>&lt;dialog&gt;</code></td>
+ <td>32.0 {{property_prefix("webkit")}}<br>
+ 37.0</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ </tr>
+ <tr>
+ <td>en fullscreen</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatVersionUnknown}}{{property_prefix("ms")}}</td>
+ <td>{{CompatGeckoDesktop("47")}} <sup>[1]</sup></td>
+ <td>11 {{property_prefix("ms")}}</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<div id="compat-mobile">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Descripció</th>
+ <th>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>Suport bàsic</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatVersionUnknown}}{{property_prefix("ms")}}</td>
+ <td>{{CompatGeckoMobile("47")}} <sup>[1]</sup></td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ </tr>
+ <tr>
+ <td>en <code>&lt;dialog&gt;</code></td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ </tr>
+ <tr>
+ <td>en fullscreen</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatVersionUnknown}}{{property_prefix("ms")}}</td>
+ <td>{{CompatGeckoMobile("47")}} <sup>[1]</sup></td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<p>[1] See {{bug(1064843)}}</p>
+
+<h2 id="Vegeu_també">Vegeu també</h2>
+
+<ul>
+ <li>{{cssxref(":fullscreen")}}</li>
+ <li>{{HTMLElement("dialog")}}</li>
+</ul>