diff options
author | Peter Bengtsson <mail@peterbe.com> | 2021-06-17 13:35:36 -0400 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2021-06-18 01:41:27 +0800 |
commit | d490e42ffe823173477b841ec397105bd06cb336 (patch) | |
tree | 0c0a208e8e7cffa0f37cbaa2b463f4448ba9edc9 /files/zh-cn/web/css/translate | |
parent | 64471936f0c8ee43b7a35c4a020c6435e64dfcaf (diff) | |
download | translated-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.html | 12 |
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"><div> +<pre class="brush: html"><div> <p class="translate">Translation</p> </div></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> |