aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/css/place-items/index.html
diff options
context:
space:
mode:
authorSphinxKnight <SphinxKnight@users.noreply.github.com>2021-09-17 20:15:31 +0200
committerGitHub <noreply@github.com>2021-09-17 20:15:31 +0200
commit3335211db9ecb67dc0ccd9c4a7c1eb607ffe359f (patch)
tree09fe8f8a5fae5235b62918e8b7161fd34480b8d0 /files/fr/web/css/place-items/index.html
parent3518481e9190f19bbf81741704f45cb3c1761758 (diff)
downloadtranslated-content-3335211db9ecb67dc0ccd9c4a7c1eb607ffe359f.tar.gz
translated-content-3335211db9ecb67dc0ccd9c4a7c1eb607ffe359f.tar.bz2
translated-content-3335211db9ecb67dc0ccd9c4a7c1eb607ffe359f.zip
Prepare CSS section for Markdown conversion (#2307)
* Removes summary / seoSummary classes * Remove div class=hidden and some notranslate * Remove hidden paragraphs for live sample * Remove hidden paragraphs for live sample - take 2 * Remove other hidden div and p - updated w/ en-US when necessary * Remove ids * Remove notranslate class * Fix typo which broke build * remove div class='index' * remove useless <span style=...> * remove non typographical sups * remove non typographical subs * remove blockindicator and fix some div.note * fix build :/ * remove useless classes * fix build - again :x * fix unhandled elements 1/N + embedlivesample build fail * fix div.warning * Fix fixable flaws - hoping to reduce error conversion * Remove unecessary images (same as en-US) * fix div notes * fix warnings * fix some dl handling * fix dls * Fix a bunch of conversion errors * rm unhandled figures * Fix other set of issues and revamp easing-function page * Fix some one-offs conversion errors (incl. deki files) * fix the rest of one-off conversion issues * Fix last dl standing
Diffstat (limited to 'files/fr/web/css/place-items/index.html')
-rw-r--r--files/fr/web/css/place-items/index.html16
1 files changed, 4 insertions, 12 deletions
diff --git a/files/fr/web/css/place-items/index.html b/files/fr/web/css/place-items/index.html
index edcda65124..c5b670ba70 100644
--- a/files/fr/web/css/place-items/index.html
+++ b/files/fr/web/css/place-items/index.html
@@ -14,8 +14,6 @@ translation_of: Web/CSS/place-items
<div>{{EmbedInteractiveExample("pages/css/place-items.html")}}</div>
-<p class="hidden">Le code source de cet exemple interactif est disponible dans un dépôt GitHub. Si vous souhaitez contribuez à ces exemples, n'hésitez pas à cloner <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> et à envoyer une <em>pull request</em> !</p>
-
<h2 id="Syntaxe">Syntaxe</h2>
<pre class="brush:css">/* Valeurs avec un mot-clé */
@@ -97,7 +95,7 @@ place-items: unset;
<h3 id="CSS">CSS</h3>
-<pre class="brush: css; highlight[4]">#container {
+<pre class="brush: css">#container {
height:200px;
width: 240px;
place-items: center; /* Cette valeur peut être modifiée dans l'exemple */
@@ -115,8 +113,7 @@ place-items: unset;
}
</pre>
-<div class="hidden">
-<pre class="brush: css;">div &gt; div {
+<pre class="brush: css hidden">div &gt; div {
box-sizing: border-box;
border: 2px solid #8c8c8c;
width: 50px;
@@ -164,9 +161,7 @@ select {
margin-top: 10px;
}</pre>
-<h3 id="HTML">HTML</h3>
-
-<pre class="brush: html">&lt;div id="container" class="flex"&gt;
+<pre class="brush: html hidden">&lt;div id="container" class="flex"&gt;
&lt;div id="item1"&gt;1&lt;/div&gt;
&lt;div id="item2"&gt;2&lt;/div&gt;
&lt;div id="item3"&gt;3&lt;/div&gt;
@@ -210,9 +205,7 @@ select {
&lt;/div&gt;
</pre>
-<h3 id="JavaScript">JavaScript</h3>
-
-<pre class="brush: js">var values = document.getElementById('values');
+<pre class="brush: js hidden">var values = document.getElementById('values');
var display = document.getElementById('display');
var container = document.getElementById('container');
@@ -224,7 +217,6 @@ display.addEventListener('change', function (evt) {
container.className = evt.target.value;
});
</pre>
-</div>
<h3 id="Résultat">Résultat</h3>