aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/css/css_transitions/using_css_transitions/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/css/css_transitions/using_css_transitions/index.html')
-rw-r--r--files/zh-cn/web/css/css_transitions/using_css_transitions/index.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/files/zh-cn/web/css/css_transitions/using_css_transitions/index.html b/files/zh-cn/web/css/css_transitions/using_css_transitions/index.html
index 9cc37073b1..2a9dd87fdf 100644
--- a/files/zh-cn/web/css/css_transitions/using_css_transitions/index.html
+++ b/files/zh-cn/web/css/css_transitions/using_css_transitions/index.html
@@ -81,7 +81,7 @@ translation_of: Web/CSS/CSS_Transitions/Using_CSS_transitions
<div id="duration_0_5s" style="width: 251px; display: inline-block; margin-right: 1px; margin-bottom: 1px;">
<p><code>transition-duration: 0.5s</code></p>
- <div style="display: none;">
+ <div class="hidden">
<pre class="brush:html"> &lt;div class="parent"&gt;
&lt;div class="box"&gt;Lorem&lt;/div&gt;
&lt;/div&gt;
@@ -146,7 +146,7 @@ var intervalID = window.setInterval(updateTransition, 7000);
<div id="duration_1s" style="width: 251px; display: inline-block; margin-right: 1px; margin-bottom: 1px;">
<p><code>transition-duration: 1s</code></p>
- <div style="display: none;">
+ <div class="hidden">
<pre class="brush:html"> &lt;div class="parent"&gt;
&lt;div class="box"&gt;Lorem&lt;/div&gt;
&lt;/div&gt;
@@ -211,7 +211,7 @@ var intervalID = window.setInterval(updateTransition, 7000);
<div id="duration_2s" style="width: 251px; display: inline-block; margin-right: 1px; margin-bottom: 1px;">
<p><code>transition-duration: 2s</code></p>
- <div style="display: none;">
+ <div class="hidden">
<pre class="brush:html"> &lt;div class="parent"&gt;
&lt;div class="box"&gt;Lorem&lt;/div&gt;
&lt;/div&gt;
@@ -276,7 +276,7 @@ var intervalID = window.setInterval(updateTransition, 7000);
<div id="duration_4s" style="width: 251px; display: inline-block; margin-right: 1px; margin-bottom: 1px;">
<p><code>transition-duration: 4s</code></p>
- <div style="display: none;">
+ <div class="hidden">
<pre class="brush:html"> &lt;div class="parent"&gt;
&lt;div class="box"&gt;Lorem&lt;/div&gt;
&lt;/div&gt;
@@ -346,7 +346,7 @@ var intervalID = window.setInterval(updateTransition, 7000);
<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"> &lt;div class="parent"&gt;
&lt;div class="box"&gt;Lorem&lt;/div&gt;
&lt;/div&gt;
@@ -409,7 +409,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"> &lt;div class="parent"&gt;
&lt;div class="box"&gt;Lorem&lt;/div&gt;
&lt;/div&gt;
@@ -472,7 +472,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"> &lt;div class="parent"&gt;
&lt;div class="box"&gt;Lorem&lt;/div&gt;
&lt;/div&gt;
@@ -535,7 +535,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"> &lt;div class="parent"&gt;
&lt;div class="box"&gt;Lorem&lt;/div&gt;
&lt;/div&gt;
@@ -603,7 +603,7 @@ var intervalID = window.setInterval(updateTransition, 7000);
<div id="delay_0_5s" style="width: 251px; display: inline-block; margin-right: 1px; margin-bottom: 1px;">
<p><code>transition-delay: 0.5s</code></p>
- <div style="display: none;">
+ <div class="hidden">
<pre class="brush:html"> &lt;div class="parent"&gt;
&lt;div class="box"&gt;Lorem&lt;/div&gt;
&lt;/div&gt;
@@ -670,7 +670,7 @@ var intervalID = window.setInterval(updateTransition, 7000);
<div id="delay_1s" style="width: 251px; display: inline-block; margin-right: 1px; margin-bottom: 1px;">
<p><code>transition-delay: 1s</code></p>
- <div style="display: none;">
+ <div class="hidden">
<pre class="brush:html"> &lt;div class="parent"&gt;
&lt;div class="box"&gt;Lorem&lt;/div&gt;
&lt;/div&gt;
@@ -737,7 +737,7 @@ var intervalID = window.setInterval(updateTransition, 7000);
<div id="delay_2s" style="width: 251px; display: inline-block; margin-right: 1px; margin-bottom: 1px;">
<p><code>transition-delay: 2s</code></p>
- <div style="display: none;">
+ <div class="hidden">
<pre class="brush:html"> &lt;div class="parent"&gt;
&lt;div class="box"&gt;Lorem&lt;/div&gt;
&lt;/div&gt;
@@ -804,7 +804,7 @@ var intervalID = window.setInterval(updateTransition, 7000);
<div id="delay_4s" style="width: 251px; display: inline-block; margin-right: 1px; margin-bottom: 1px;">
<p><code>transition-delay: 4s</code></p>
- <div style="display: none;">
+ <div class="hidden">
<pre class="brush:html"> &lt;div class="parent"&gt;
&lt;div class="box"&gt;Lorem&lt;/div&gt;
&lt;/div&gt;