8000 opti: 调整 border-image-slice 的参考描述 · webcoding/css-handbook@ee22db4 · GitHub
[go: up one dir, main page]

Skip to content

Commit ee22db4

Browse files
committed
opti: 调整 border-image-slice 的参考描述
1 parent 2b99ff4 commit ee22db4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

properties/backgrounds/border-image-slice.htm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ <h2 class="tit">取值:</h2>
6565
<div class="cont">
6666
<dl>
6767
<dt><a href="../../values/numeric/number.htm">&lt;number&gt;</a></dt>
68-
<dd>用浮点数指定宽度。不允许负值。</dd>
68+
<dd>用浮点数指定宽度。数字代表在图像上的像素位置或向量坐标。不允许负值。</dd>
6969
<dt><a href="../../values/numeric/percentage.htm">&lt;percentage&gt;</a></dt>
7070
<dd>用百分比指定宽度。参照其包含块区域进行计算。不允许负值。</dd>
7171
<dt>fill:</dt>
@@ -76,7 +76,7 @@ <h2 class="tit">取值:</h2>
7676
<section id="intro" class="g-mod g-attr">
7777
<h2 class="tit">说明:</h2>
7878
<div class="cont">
79-
<strong>设置或检索对象的边框背景图的分割方式</strong>
79+
<strong>用以指定从哪 4 个位置分割图像(遵循上右下左的顺序)</strong>
8080
<ul>
8181
<li>该属性指定从上,右,下,左方位来分隔图像,将图像分成4个角,4条边和中间区域共9份,中间区域始终是透明的(即没图像填充),除非加上关键字 fill。</li>
82< 9040 /code>82
<li>对应的脚本特性为<strong>borderImageSlice</strong></li>

properties/backgrounds/index.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ <h2 class="tit">背景与边框 Backgrounds and Borders</h2>
111111
<td><a href="border-image-slice.htm" class="g-color-css3-new">border-image-slice</a></td>
112112
<td>CSS3</td>
113113
<td></td>
114-
<td>设置或检索对象的边框背景图的分割方式</td>
114+
<td>用以指定从哪 4 个位置分割图像(遵循上右下左的顺序)</td>
115115
</tr>
116116
<tr>
117117
<td><a href="border-image-width.htm" class="g-color-css3-new">border-image-width</a></td>

0 commit comments

Comments
 (0)
0