-
Notifications
You must be signed in to change notification settings - Fork 32
css-grid-cn.json Updata NO.2 #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
css-grid-cn.json Updata NO.2 #19
Conversation
|
现在,所有的翻译都应该在文件内,不新建 |
S1ngS1ng
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
内容 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>。", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
父元素称为 <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> 属性是第一个用于网格项本身的属性。", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
多了个空格。全角符号之后不加空格
| "title": "Use grid-column to Control Spacing", | ||
| "description": [ | ||
| "到目前为止,所有的讨论都是围绕网格容器的。 <code>grid-column</code> 属性是第一个用于网格项本身的属性。", | ||
| "网格的假想水平线和垂直线被称为 <dfn> 线 (lines) </dfn>。这些线在网格的左上角从 1 开始编号,垂直线向右、水平线向下累加计数。", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
参考上面的 comment
| "在 CSS 网格中,每个网格项的内容分别位于被称为 <dfn> 单元格 (cell)</dfn> 的框内。你可以使用网格项的 <code>justify-self</code> 属性,设置其内容的位置在单元格内沿行轴对齐的方式。默认情况下,这个属性的值是 <code>stretch</code> ,这将使内容占满整个单元格的宽度。该 CSS 网格属性也可以使用其他的值:", | ||
| "<code>start</code> :使内容在单元格左侧对齐,", | ||
| "<code>center</code> :使内容在单元格居中对齐,", | ||
| "<code>end</code> :使内容在单元格右侧对齐,", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这几行,<code> 之后不需要空格,因为后面是全角符号
| "id": "5a90376038fddaf9a66b5d3c", | ||
| "title": "Align All Items Horizontally using justify-items", | ||
| "description": [ | ||
| "有时你想让在 CSS 网格中的网格项共享对齐方式。你可以像之前学习的那样单独使他们对齐,也可以对网格容器使用 <code>justify-items</code> 使它们一次性沿行轴对齐。对于这个属性你能使用在之前的两个挑战中学到的所有值,与之前不同的是,它将使网格中 <b> 所有 </b> 的网格项按所设置的方式对齐。", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同样,<b> 标签也不需要加空格。因为这里都是全角字符
|
Changes addressed in #30 |
No description provided.