diff options
author | Peter Bengtsson <mail@peterbe.com> | 2021-02-25 08:31:36 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2021-02-25 08:31:36 -0500 |
commit | 97065b2e68dd8768dc1ea092c893c57ebe205026 (patch) | |
tree | 11bf4a1114c543989c24c7a801ba379b2c20a30c /files/it/web | |
parent | d1794f6b276285489b417053507f432a14be31df (diff) | |
download | translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.gz translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.bz2 translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.zip |
use class="hidden" not style="display:none"
Diffstat (limited to 'files/it/web')
3 files changed, 11 insertions, 11 deletions
diff --git a/files/it/web/api/canvasrenderingcontext2d/ispointinpath/index.html b/files/it/web/api/canvasrenderingcontext2d/ispointinpath/index.html index bcb314845c..cf3bdee573 100644 --- a/files/it/web/api/canvasrenderingcontext2d/ispointinpath/index.html +++ b/files/it/web/api/canvasrenderingcontext2d/ispointinpath/index.html @@ -67,7 +67,7 @@ console.log(ctx.isPointInPath(10, 10)); // true <p>Modifica il codice qui sotto, e guarda live come cambia il canvas: per guardare i log apri la tua <a href="/en-US/docs/Tools/Browser_Console">console</a></p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> diff --git a/files/it/web/css/transition-timing-function/index.html b/files/it/web/css/transition-timing-function/index.html index c99e5f5678..0362f60e1d 100644 --- a/files/it/web/css/transition-timing-function/index.html +++ b/files/it/web/css/transition-timing-function/index.html @@ -50,7 +50,7 @@ transition-timing-function: inherit <div id="ttf_ease" style="width: 251px; display: inline-block; margin-right: 1px; margin-bottom: 1px;"> <p><code>transition-timing-function: ease</code></p> -<div style="display: none;"> +<div class="hidden"> <pre class="brush:html"> <div class="parent"> <div class="box">Lorem</div> </div> @@ -113,7 +113,7 @@ var intervalID = window.setInterval(updateTransition, 7000); <div id="ttf_easein" style="width: 251px; display: inline-block; margin-right: 1px; margin-bottom: 1px;"> <p><code>transition-timing-function: ease-in</code></p> -<div style="display: none;"> +<div class="hidden"> <pre class="brush:html"> <div class="parent"> <div class="box">Lorem</div> </div> @@ -176,7 +176,7 @@ var intervalID = window.setInterval(updateTransition, 7000); <div id="ttf_easeout" style="width: 251px; display: inline-block; margin-right: 1px; margin-bottom: 1px;"> <p><code>transition-timing-function: ease-out</code></p> -<div style="display: none;"> +<div class="hidden"> <pre class="brush:html"> <div class="parent"> <div class="box">Lorem</div> </div> @@ -239,7 +239,7 @@ var intervalID = window.setInterval(updateTransition, 7000); <div id="ttf_easeinout" style="width: 251px; display: inline-block; margin-right: 1px; margin-bottom: 1px;"> <p><code>transition-timing-function: ease-in-out</code></p> -<div style="display: none;"> +<div class="hidden"> <pre class="brush:html"> <div class="parent"> <div class="box">Lorem</div> </div> @@ -303,7 +303,7 @@ var intervalID = window.setInterval(updateTransition, 7000); <div id="ttf_linear" style="width: 251px; display: inline-block; margin-right: 1px; margin-bottom: 1px;"> <p><code>transition-timing-function: linear</code></p> -<div style="display: none;"> +<div class="hidden"> <pre class="brush:html"> <div class="parent"> <div class="box">Lorem</div> </div> @@ -366,7 +366,7 @@ var intervalID = window.setInterval(updateTransition, 7000); <div id="ttf_stepstart" style="width: 251px; display: inline-block; margin-right: 1px; margin-bottom: 1px;"> <p><code>transition-timing-function: step-start</code></p> -<div style="display: none;"> +<div class="hidden"> <pre class="brush:html"> <div class="parent"> <div class="box">Lorem</div> </div> @@ -429,7 +429,7 @@ var intervalID = window.setInterval(updateTransition, 7000); <div id="ttf_stepend" style="width: 251px; display: inline-block; margin-right: 1px; margin-bottom: 1px;"> <p><code>transition-timing-function: step-end</code></p> -<div style="display: none;"> +<div class="hidden"> <pre class="brush:html"> <div class="parent"> <div class="box">Lorem</div> </div> @@ -492,7 +492,7 @@ var intervalID = window.setInterval(updateTransition, 7000); <div id="ttf_step4end" style="width: 251px; display: inline-block; margin-right: 1px; margin-bottom: 1px;"> <p><code>transition-timing-function: steps(4, end)</code></p> -<div style="display: none;"> +<div class="hidden"> <pre class="brush:html"> <div class="parent"> <div class="box">Lorem</div> </div> diff --git a/files/it/web/html/global_attributes/index.html b/files/it/web/html/global_attributes/index.html index 84a66619b7..a8424e5827 100644 --- a/files/it/web/html/global_attributes/index.html +++ b/files/it/web/html/global_attributes/index.html @@ -122,7 +122,7 @@ translation_of: Web/HTML/Global_attributes </ol> </body> </pre> - <div style="display: none;"> + <div class="hidden"> <pre class="brush:css"> ol { list-style-type:decimal; } @@ -151,7 +151,7 @@ function changeImage(){ <li>the name must not contain any semicolon (<code>U+003A</code>);</li> <li>the name must not contain capital <code>A</code> to <code>Z</code> letters.</li> </ul> -<p>Note that the <code>HTMLElement.dataset</code> attribute is a <code>StringMap</code> and the name of the custom data attribute <em> data-test-value<span id="1305983291817E" style="display: none;"> </span></em> will be accessible via <code>HTMLElement.dataset.</code><em><code>testValue</code></em> as any dash (<code>U+002D</code>) is replaced by the capitalization of the next letter (camelcase).</p> +<p>Note that the <code>HTMLElement.dataset</code> attribute is a <code>StringMap</code> and the name of the custom data attribute <em> data-test-value<span id="1305983291817E" class="hidden"> </span></em> will be accessible via <code>HTMLElement.dataset.</code><em><code>testValue</code></em> as any dash (<code>U+002D</code>) is replaced by the capitalization of the next letter (camelcase).</p> <table class="fullwidth-table"> <tbody> <tr> |