From 0fbbfc993a7975b611e1966d1a21710ba6c371e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E9=BC=8E?= Date: Sat, 24 Nov 2018 08:52:39 +0800 Subject: [PATCH] Update code format (#21779) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 格式调整 * fix: correct Mozilla link for Chinese version --- guide/chinese/css/background-size/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/guide/chinese/css/background-size/index.md b/guide/chinese/css/background-size/index.md index 423121d766..7aa8ac0f4c 100644 --- a/guide/chinese/css/background-size/index.md +++ b/guide/chinese/css/background-size/index.md @@ -7,7 +7,7 @@ localeTitle: 背景大小 background-size属性指定背景图像的大小。您可以设置长度或百分比,第一个值是宽度,第二个值是高度。您还可以使用以下5个关键字值之一: ```css -.auto {background-size: auto;} + .auto {background-size: auto;} .cover {background-size: cover;} .contain {background-size: contain;} .initial {background-size: initial;} @@ -20,7 +20,7 @@ background-size属性指定背景图像的大小。您可以设置长度或百 要在多个背景图像上设置此属性,请用逗号分隔值: ```css -.multiple { + .multiple { background-image: url(1.png), url(2.png); background-size: 3px 3px, cover; } @@ -28,8 +28,8 @@ background-size属性指定背景图像的大小。您可以设置长度或百 #### 更多信息: -文档: [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size) +文档: [MDN](https://developer.mozilla.org/zh-CN/docs/Web/CSS/background-size) CSS-Tricks: [背景大小](https://css-tricks.com/almanac/properties/b/background-size/) -浏览器支持: [caniuse](http://caniuse.com/#search=background-size) \ No newline at end of file +浏览器支持: [caniuse](http://caniuse.com/#search=background-size)