aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/css/translate
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2021-06-17 13:35:36 -0400
committerIrvin <irvinfly@gmail.com>2021-06-18 01:41:27 +0800
commitd490e42ffe823173477b841ec397105bd06cb336 (patch)
tree0c0a208e8e7cffa0f37cbaa2b463f4448ba9edc9 /files/zh-cn/web/css/translate
parent64471936f0c8ee43b7a35c4a020c6435e64dfcaf (diff)
downloadtranslated-content-d490e42ffe823173477b841ec397105bd06cb336.tar.gz
translated-content-d490e42ffe823173477b841ec397105bd06cb336.tar.bz2
translated-content-d490e42ffe823173477b841ec397105bd06cb336.zip
rid of $samples iframes
Diffstat (limited to 'files/zh-cn/web/css/translate')
-rw-r--r--files/zh-cn/web/css/translate/index.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/files/zh-cn/web/css/translate/index.html b/files/zh-cn/web/css/translate/index.html
index 117a42ed4f..acfffc7ba9 100644
--- a/files/zh-cn/web/css/translate/index.html
+++ b/files/zh-cn/web/css/translate/index.html
@@ -48,17 +48,17 @@ translate: 50% 105px 5rem;
{{csssyntax}}
-<h2 id="示例">示例</h2>
+<h2 id="Examples">示例</h2>
<h3 id="HTML">HTML</h3>
-<pre class="brush: html notranslate">&lt;div&gt;
+<pre class="brush: html">&lt;div&gt;
  &lt;p class="translate"&gt;Translation&lt;/p&gt;
&lt;/div&gt;</pre>
<h3 id="CSS">CSS</h3>
-<pre class="brush: css notranslate">* {
+<pre class="brush: css">* {
box-sizing: border-box;
}
@@ -89,9 +89,9 @@ div:hover .translate {
}
</pre>
-<h3 id="结果">结果</h3>
+<h3 id="Result">Result</h3>
-<p><iframe class="live-sample-frame sample-code-frame" frameborder="0" id="frame_Examples" src="https://mdn.mozillademos.org/en-US/docs/Web/CSS/translate$samples/Examples?revision=1595410"></iframe></p>
+<p>{{EmbedLiveSample('Examples')}}</p>
<h2 id="规范">规范</h2>
@@ -118,7 +118,7 @@ div:hover .translate {
-<p>{{Compat("css.properties.translate")}}</p>
+<p>{{Compat}}</p>
<h2 id="参见">参见</h2>