diff options
| author | julieng <julien.gattelier@gmail.com> | 2021-09-17 20:58:15 +0200 |
|---|---|---|
| committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-10-12 07:57:33 +0200 |
| commit | 149319bb8c7b1394a443f0877c3460cd362aa815 (patch) | |
| tree | d534abb0cbc87d5e224836e9d6b888aa58564aa0 /files/fr/web/css/column_combinator/index.html | |
| parent | eb9de0363cb273b54d3f5402bbf4e3bc03c60971 (diff) | |
| download | translated-content-149319bb8c7b1394a443f0877c3460cd362aa815.tar.gz translated-content-149319bb8c7b1394a443f0877c3460cd362aa815.tar.bz2 translated-content-149319bb8c7b1394a443f0877c3460cd362aa815.zip | |
move *.html to *.md
Diffstat (limited to 'files/fr/web/css/column_combinator/index.html')
| -rw-r--r-- | files/fr/web/css/column_combinator/index.html | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/files/fr/web/css/column_combinator/index.html b/files/fr/web/css/column_combinator/index.html deleted file mode 100644 index 869a1e10dc..0000000000 --- a/files/fr/web/css/column_combinator/index.html +++ /dev/null @@ -1,96 +0,0 @@ ---- -title: Combinateur de colonne -slug: Web/CSS/Column_combinator -tags: - - CSS - - Reference - - Sélecteur -translation_of: Web/CSS/Column_combinator -original_slug: Web/CSS/Combinateur_colonne ---- -<div>{{CSSRef("Selectors")}}{{Draft}}{{SeeCompatTable}}</div> - -<p>Le <strong>combinateur de colonne</strong> (<code>||</code>) est placé entre deux sélecteurs CSS. Les éléments ciblés sont ceux ciblés par le deuxième sélecteur et qui appartiennent à un élément en colonne qui correspond au premier sélecteur.</p> - -<pre class="brush: css no-line-numbers">/* Les cellules de tableaux qui appartiennent */ -/* à la colonne "selected" */ -col.selected || td { - background: gray; -} -</pre> - -<h2 id="Syntaxe">Syntaxe</h2> - -<pre class="syntaxbox"><var>column-selector</var> || <var>cell-selector</var> { - <var>/* propriétés pour le style */</var> -} -</pre> - -<h2 id="Exemples">Exemples</h2> - -<h3 id="HTML">HTML</h3> - -<pre class="brush: html"><table border="1"> - <colgroup> - <col span="2"/> - <col class="selected"/> - </colgroup> - <tbody> - <tr> - <td>A - <td>B - <td>C - </tr> - <tr> - <td colspan="2">D</td> - <td>E</td> - </tr> - <tr> - <td>F</td> - <td colspan="2">G</td> - </tr> - </tbody> -</table></pre> - -<h3 id="CSS">CSS</h3> - -<pre class="brush: css">col.selected || td { - background: gray; - color: white; - font-weight: bold; -}</pre> - -<h3 id="Résultat">Résultat</h3> - -<p>{{EmbedLiveSample("Exemples", "100%")}}</p> - -<h2 id="Spécifications">Spécifications</h2> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">Spécification</th> - <th scope="col">État</th> - <th scope="col">Commentaires</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName("CSS4 Selectors", "#the-column-combinator", "column combinator")}}</td> - <td>{{Spec2("CSS4 Selectors")}}</td> - <td>Définition initiale.</td> - </tr> - </tbody> -</table> - -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> - -<p>{{Compat("javascript.builtins.Array.sort")}}</p> - -<h2 id="Voir_aussi">Voir aussi</h2> - -<ul> - <li>{{HTMLElement("col")}}</li> - <li>{{HTMLElement("colgroup")}}</li> - <li>{{CSSxRef("grid")}}</li> -</ul> |
