-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
zh-CN: Translate "Logical properties for margins, borders, and padding" #12498
Merged
Conversation
This file contains 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
Preview URLs External URLs (2)URL:
(comment last updated: 2023-04-02 12:09:37) |
yarusome
commented
Apr 2, 2023
|
||
### 外边距简写属性 | ||
|
||
既然我们现在可以同时设置盒子的两侧——要么行向要么块向的两侧——那就有新的简写属性 {{CSSXref("margin-inline")}} 和 {{CSSXref("margin-block")}} 可以接受两个值。第一个值会应用到那个方向的首侧,第二个应用到末侧。如果你只用一个值,那么这个值应用到两侧。 |
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.
start 和 end 作值时(没有冠词)译为“首”和“末”,作一般名词且未被 block 或 inline 修饰时译为“首侧”和“末侧”(听起来更自然)。类比 left 译为“左”或“左侧”。
yin1999
reviewed
Apr 2, 2023
files/zh-cn/web/css/css_logical_properties/margins_borders_padding/index.md
Outdated
Show resolved
Hide resolved
files/zh-cn/web/css/css_logical_properties/margins_borders_padding/index.md
Outdated
Show resolved
Hide resolved
files/zh-cn/web/css/css_logical_properties/margins_borders_padding/index.md
Outdated
Show resolved
Hide resolved
Co-authored-by: A1lo <yin199909@aliyun.com>
Co-authored-by: A1lo <yin199909@aliyun.com>
yin1999
approved these changes
Apr 2, 2023
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.
Description
Motivation
Additional details
原文多处混淆了 property 和 value,译文进行了纠正。如有必要,我可以再追加英文版的合并申请。
Related issues and pull requests