Skip to content
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: update Glossary/Alignment* #22585

Merged
merged 4 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 15 additions & 14 deletions files/zh-cn/glossary/alignment_container/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,25 @@
title: 对齐容器
slug: Glossary/Alignment_Container
l10n:
sourceCommit: ada5fa5ef15eadd44b549ecf906423b4a2092f34
sourceCommit: 50e5e8a9b8a6b7d0dd9877610c9639d8b90f329f
---

{{GlossarySidebar}}

**对齐容器**是包含[对齐主体](/zh-CN/docs/Glossary/Alignment_Subject)被对齐时所处的矩形。这由布局模式定义;通常是包含被对齐对象的块,并推断构成对齐容器的盒子的书写模式
**对齐容器**是包含{{glossary("alignment subject", "对齐主体")}}被对齐时所处的矩形。这由布局模式定义;通常是包含被对齐对象的区块,并呈现构成这一块的盒子的书写模式

## 参见

- [CSS 盒子对齐](/zh-CN/docs/Web/CSS/CSS_box_alignment) module
- CSS {{CSSXref("align-content")}} 属性
- CSS {{CSSXref("align-items")}} 属性
- CSS {{CSSXref("align-self")}} 属性
- CSS {{CSSXref("align-tracks")}} 属性
- CSS {{CSSXref("justify-content")}} 属性
- CSS {{CSSXref("justify-items")}} 属性
- CSS {{CSSXref("justify-self")}} 属性
- CSS {{CSSXref("justify-tracks")}} 属性
- CSS {{CSSXref("place-content")}} 简写属性
- CSS {{CSSXref("place-self")}} 简写属性
- CSS {{CSSXref("scroll-snap-align")}} 属性
- [CSS 盒子对齐](/zh-CN/docs/Web/CSS/CSS_box_alignment)模块
- 属性参考
- CSS {{CSSXref("align-content")}} 属性
- CSS {{CSSXref("align-items")}} 属性
- CSS {{CSSXref("align-self")}} 属性
- CSS {{CSSXref("justify-content")}} 属性
- CSS {{CSSXref("justify-items")}} 属性
- CSS {{CSSXref("justify-self")}} 属性
- CSS {{CSSXref("place-content")}} 简写属性
- CSS {{CSSXref("place-self")}} 简写属性
- CSS {{CSSXref("scroll-snap-align")}} 属性
- 相关术语:
- {{Glossary("alignment subject", "对齐主体")}}
6 changes: 4 additions & 2 deletions files/zh-cn/glossary/alignment_subject/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
title: 对齐主体
slug: Glossary/Alignment_Subject
l10n:
sourceCommit: ada5fa5ef15eadd44b549ecf906423b4a2092f34
sourceCommit: 50e5e8a9b8a6b7d0dd9877610c9639d8b90f329f
---

{{GlossarySidebar}}

在 [CSS 盒子对齐](/zh-CN/docs/Web/CSS/CSS_box_alignment)中,对齐主体是由属性决定的进行对齐的事物
在 [CSS 盒子对齐](/zh-CN/docs/Web/CSS/CSS_box_alignment)中,**对齐主体**是通过属性在{{glossary("alignment container", "对齐容器")}}中被对齐的事物

对于 {{cssxref("justify-self")}} 和 {{cssxref("align-self")}},对齐主体是设置这些属性的盒子的外边距框,并且使用该盒子的书写模式。{{cssxref("justify-content")}}、{{cssxref("align-content")}} 属性也会使用盒子的书写模式。

Expand All @@ -25,3 +25,5 @@ l10n:
## 参见

- [CSS 盒子对齐](/zh-CN/docs/Web/CSS/CSS_box_alignment)模块
- 相关术语:
- {{Glossary("alignment container", "对齐容器")}}