aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/css/clamp()/index.html
diff options
context:
space:
mode:
authorTanner Dolby <tannercdolby@gmail.com>2022-02-22 01:49:36 -0800
committerGitHub <noreply@github.com>2022-02-22 17:49:36 +0800
commit6e9fe98036090a37cc6247b873845505e5b512fb (patch)
tree5fc00117ddfd9f448eb9e8011b5bd7f6d8000e8d /files/zh-cn/web/css/clamp()/index.html
parent70c3e11f3335e7701325f125fd712c84d6c1f9bf (diff)
downloadtranslated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.gz
translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.bz2
translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.zip
Removes empty <div> or <p> elements from pages (#3093)
* Removes all empty paragraph elements * Removes all empty div elements * Preserve empty div in code snippet * Preserve empty elements inside code snippets * Remove fr files which were converted into markdown * Web/CSS/transform-function/scaleX()/index.html The file is already renamed to index.md。 * remove not needed file * Resolve remaining conflict Co-authored-by: julieng <julien.gattelier@gmail.com> Co-authored-by: Masahiro FUJIMOTO <mfujimot@gmail.com>
Diffstat (limited to 'files/zh-cn/web/css/clamp()/index.html')
-rw-r--r--files/zh-cn/web/css/clamp()/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/css/clamp()/index.html b/files/zh-cn/web/css/clamp()/index.html
index 4657d828b7..fd293c2620 100644
--- a/files/zh-cn/web/css/clamp()/index.html
+++ b/files/zh-cn/web/css/clamp()/index.html
@@ -5,7 +5,7 @@ translation_of: Web/CSS/clamp()
---
<div>{{CSSRef}}</div>
-<div></div>
+
<p><strong><code>clamp()</code></strong> 函数的作用是把一个值限制在一个上限和下限之间,当这个值超过最小值和最大值的范围时,在最小值和最大值之间选择一个值使用。它接收三个参数:最小值、首选值、最大值。 <code>clamp()</code> 被用在 {{CSSxRef("&lt;length&gt;")}}、{{CSSxRef("&lt;frequency&gt;")}}、{{CSSxRef("&lt;angle&gt;")}}、{{CSSxRef("&lt;time&gt;")}}、{{CSSxRef("&lt;percentage&gt;")}}、{{CSSxRef("&lt;number&gt;")}}、{{CSSxRef("&lt;integer&gt;")}} 中都是被允许的。</p>