css-grid-cn.json Updata NO.2#19
Closed
stevending1st wants to merge 7 commits intoFreeCodeCampChina:translatefrom
Closed
css-grid-cn.json Updata NO.2#19stevending1st wants to merge 7 commits intoFreeCodeCampChina:translatefrom
stevending1st wants to merge 7 commits intoFreeCodeCampChina:translatefrom
Conversation
Contributor
|
现在,所有的翻译都应该在文件内,不新建 |
S1ngS1ng
suggested changes
Jul 27, 2018
Contributor
S1ngS1ng
left a comment
There was a problem hiding this comment.
内容 OK。都是格式改动,抱歉,之前没说清楚。麻烦你再改下吧 😐
| "title": "Create Your First CSS Grid", | ||
| "description": [ | ||
| "通过将属性 <code>display</code> 的值设为 <code>grid</code>,使 HTML 元素变为网格容器。通过前面的操作,你可以对该容器使用与 CSS 网格 (CSS Grid) 相关的属性。", | ||
| "<strong> 注意 </strong><br> 在 CSS 网格中,父元素称为 <dfn> 容器 (container)</dfn> 它的子元素称为 <dfn> 项 (items)</dfn>。", |
Contributor
There was a problem hiding this comment.
父元素称为 <dfn> 容器 (container)</dfn> 它的子元素称为 <dfn> 项 (items)</dfn>。 =>
父元素称为<dfn>容器(container)</dfn>,它的子元素称为<dfn>项(items)</dfn>。
注意加空格的原则,以及全角符号
另外 <br> 之后不需要加空格,因为换行了
| "id": "5a90372638fddaf9a66b5d38", | ||
| "title": "Use grid-column to Control Spacing", | ||
| "description": [ | ||
| "到目前为止,所有的讨论都是围绕网格容器的。 <code>grid-column</code> 属性是第一个用于网格项本身的属性。", |
| "title": "Use grid-column to Control Spacing", | ||
| "description": [ | ||
| "到目前为止,所有的讨论都是围绕网格容器的。 <code>grid-column</code> 属性是第一个用于网格项本身的属性。", | ||
| "网格的假想水平线和垂直线被称为 <dfn> 线 (lines) </dfn>。这些线在网格的左上角从 1 开始编号,垂直线向右、水平线向下累加计数。", |
| "在 CSS 网格中,每个网格项的内容分别位于被称为 <dfn> 单元格 (cell)</dfn> 的框内。你可以使用网格项的 <code>justify-self</code> 属性,设置其内容的位置在单元格内沿行轴对齐的方式。默认情况下,这个属性的值是 <code>stretch</code> ,这将使内容占满整个单元格的宽度。该 CSS 网格属性也可以使用其他的值:", | ||
| "<code>start</code> :使内容在单元格左侧对齐,", | ||
| "<code>center</code> :使内容在单元格居中对齐,", | ||
| "<code>end</code> :使内容在单元格右侧对齐,", |
Contributor
There was a problem hiding this comment.
这几行,<code> 之后不需要空格,因为后面是全角符号
| "id": "5a90376038fddaf9a66b5d3c", | ||
| "title": "Align All Items Horizontally using justify-items", | ||
| "description": [ | ||
| "有时你想让在 CSS 网格中的网格项共享对齐方式。你可以像之前学习的那样单独使他们对齐,也可以对网格容器使用 <code>justify-items</code> 使它们一次性沿行轴对齐。对于这个属性你能使用在之前的两个挑战中学到的所有值,与之前不同的是,它将使网格中 <b> 所有 </b> 的网格项按所设置的方式对齐。", |
Contributor
There was a problem hiding this comment.
同样,<b> 标签也不需要加空格。因为这里都是全角字符
Contributor
|
Changes addressed in #30 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.