diff options
Diffstat (limited to 'files/zh-cn/web/css/env()/index.html')
| -rw-r--r-- | files/zh-cn/web/css/env()/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/css/env()/index.html b/files/zh-cn/web/css/env()/index.html index eac3627359..60f45d0e97 100644 --- a/files/zh-cn/web/css/env()/index.html +++ b/files/zh-cn/web/css/env()/index.html @@ -12,7 +12,7 @@ translation_of: Web/CSS/env() <div> <span class="seoSummary"><strong><code>env()</code></strong> <a href="/en-US/docs/Web/CSS">CSS</a> </span>函数以类似于 <span class="seoSummary">{{cssxref("var")}} </span>函数和 <span class="seoSummary"><a href="/en-US/docs/Web/CSS/--*">custom properties</a> </span>的方式将用户代理定义的环境变量值插入你的 CSS 中。区别在于,环境变量除了由用户代理定义而不是由用户定义外,还被全局作用在文档中,而自定义属性则限定在声明它们的元素中。</div> -<div></div> + <div><span style="font-size: 1rem; letter-spacing: -0.00278rem;">为了告诉浏览器使用屏幕上所有的可用空间,并以此使用</span><code style="font-size: 1rem; letter-spacing: -0.00278rem;">env()</code><span style="font-size: 1rem; letter-spacing: -0.00278rem;">变量,我们需要添加一个新的视</span><span style="font-size: 1rem; letter-spacing: -0.00278rem;">口元值:</span></div> |
