From 4f32fedb8ef314c6004d7e9285ae61731c4e2136 Mon Sep 17 00:00:00 2001 From: Zhicheng Chen Date: Wed, 8 Jan 2020 12:40:17 +0800 Subject: [PATCH] fix(i18n): update review suggestion --- ...a-negative-margin-to-an-element.chinese.md | 14 +++++----- ...dd-borders-around-your-elements.chinese.md | 28 +++++++++---------- ...gins-to-each-side-of-an-element.chinese.md | 20 ++++++------- ...ding-to-each-side-of-an-element.chinese.md | 20 ++++++------- ...nded-corners-with-border-radius.chinese.md | 14 +++++----- ...adjust-the-margin-of-an-element.chinese.md | 10 +++---- ...djust-the-padding-of-an-element.chinese.md | 12 ++++---- ...allback-value-to-a-css-variable.chinese.md | 8 +++--- ...-a-variable-for-a-specific-area.chinese.md | 4 +-- .../change-the-color-of-text.chinese.md | 6 ++-- ...nge-the-font-size-of-an-element.chinese.md | 4 +-- .../create-a-custom-css-variable.chinese.md | 4 +-- ...ckground-color-to-a-div-element.chinese.md | 8 +++--- .../basic-css/import-a-google-font.chinese.md | 12 ++++---- ...tibility-with-browser-fallbacks.chinese.md | 2 +- .../inherit-css-variables.chinese.md | 2 +- ...it-styles-from-the-body-element.chinese.md | 18 ++++++------ ...lar-images-with-a-border-radius.chinese.md | 4 +-- ...other-styles-by-using-important.chinese.md | 16 +++++------ ...ations-by-styling-id-attributes.chinese.md | 16 +++++------ ...declarations-with-inline-styles.chinese.md | 14 +++++----- ...erride-styles-in-subsequent-css.chinese.md | 10 +++---- ...ioritize-one-style-over-another.chinese.md | 14 +++++----- ...t-the-font-family-of-an-element.chinese.md | 4 +-- .../set-the-id-of-an-element.chinese.md | 6 ++-- .../basic-css/size-your-images.chinese.md | 6 ++-- ...pecify-how-fonts-should-degrade.chinese.md | 14 +++++----- ...tiple-elements-with-a-css-class.chinese.md | 12 ++++---- .../style-the-html-body-element.chinese.md | 12 ++++---- ...-absolute-versus-relative-units.chinese.md | 6 ++-- ...a-css-class-to-style-an-element.chinese.md | 10 +++---- .../use-a-custom-css-variable.chinese.md | 10 +++---- ...edia-query-to-change-a-variable.chinese.md | 6 ++-- .../use-abbreviated-hex-code.chinese.md | 18 ++++++------ ...d-attribute-to-style-an-element.chinese.md | 16 +++++------ ...ute-selectors-to-style-elements.chinese.md | 8 +++--- ...pecify-the-margin-of-an-element.chinese.md | 6 ++-- ...ecify-the-padding-of-an-element.chinese.md | 12 ++++---- ...css-selectors-to-style-elements.chinese.md | 10 +++---- ...change-several-elements-at-once.chinese.md | 8 +++--- ...se-hex-code-for-specific-colors.chinese.md | 6 ++-- .../use-hex-code-to-mix-colors.chinese.md | 18 ++++++------ .../use-rgb-to-mix-colors.chinese.md | 14 +++++----- ...se-rgb-values-to-color-elements.chinese.md | 6 ++-- 44 files changed, 234 insertions(+), 234 deletions(-) diff --git a/curriculum/challenges/chinese/01-responsive-web-design/basic-css/add-a-negative-margin-to-an-element.chinese.md b/curriculum/challenges/chinese/01-responsive-web-design/basic-css/add-a-negative-margin-to-an-element.chinese.md index 60b7f83f73..f166a23814 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/basic-css/add-a-negative-margin-to-an-element.chinese.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/basic-css/add-a-negative-margin-to-an-element.chinese.md @@ -4,19 +4,19 @@ title: Add a Negative Margin to an Element challengeType: 0 videoUrl: 'https://scrimba.com/c/cnpyGs3' forumTopicId: 16166 -localTitle: 给元素添加负外边距 +localeTitle: 给元素添加负外边距 --- ## Description
-元素的margin(外边距)控制元素边框与其他周围元素之间的距离大小。 -如果你设置元素margin为负值,元素会变得更大。 +元素的margin(外边距)控制元素border(边框)与其他周围元素之间的距离大小。 +如果你把元素的margin设置为负值,元素会变得更大。
## Instructions
-尝试设置蓝色盒子的margin为负值,跟红色盒子一样大小。 -蓝色盒子的margin设置为-15px,它会填满与黄色盒子之间的距离。 +尝试将蓝色框的margin设为负值,跟红色框一样大小。 +蓝色框的margin设置为-15px,它会填满与黄色框之间的距离。
## Tests @@ -24,8 +24,8 @@ localTitle: 给元素添加负外边距 ```yml tests: - - text: '你的blue-box class的margin应该设置为-15px。' - testString: assert($(".blue-box").css("margin-top") === "-15px", '你的blue-box class的margin应该设置为-15px。'); + - text: 'blue-box class的margin应该设置为-15px。' + testString: assert($(".blue-box").css("margin-top") === "-15px"); ``` diff --git a/curriculum/challenges/chinese/01-responsive-web-design/basic-css/add-borders-around-your-elements.chinese.md b/curriculum/challenges/chinese/01-responsive-web-design/basic-css/add-borders-around-your-elements.chinese.md index 812b4c794b..086596bea1 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/basic-css/add-borders-around-your-elements.chinese.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/basic-css/add-borders-around-your-elements.chinese.md @@ -4,13 +4,13 @@ title: Add Borders Around Your Elements challengeType: 0 videoUrl: 'https://scrimba.com/c/c2MvnHZ' forumTopicId: 16630 -localTitle: 在元素周围添加边框 +localeTitle: 在元素周围添加边框 --- ## Description
CSS 边框具有stylecolorwidth属性。 -假如,我们想要创建一个 5px 的红色实线边框包围一个 HTML 元素,我们可以这样做: +假如我们想要创建一个 5px 的红色实线边框包围一个 HTML 元素,我们可以这样做: ```html