Skip to content

Commit

Permalink
[zh-cn] sync translated content (mdn#25877)
Browse files Browse the repository at this point in the history
Co-authored-by: Allo <[email protected]>
  • Loading branch information
mdn-bot and yin1999 authored Feb 13, 2025
1 parent b14988c commit 9e7e180
Show file tree
Hide file tree
Showing 93 changed files with 316 additions and 313 deletions.
20 changes: 15 additions & 5 deletions files/zh-cn/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
/zh-CN/docs/CSS/Media/Visual /zh-CN/docs/Web/CSS/@media
/zh-CN/docs/CSS/Pseudo-classes /zh-CN/docs/Web/CSS/Pseudo-classes
/zh-CN/docs/CSS/Pseudo-elements /zh-CN/docs/Web/CSS/Pseudo-elements
/zh-CN/docs/CSS/Specificity /zh-CN/docs/Web/CSS/Specificity
/zh-CN/docs/CSS/Specificity /zh-CN/docs/Web/CSS/CSS_cascade/Specificity
/zh-CN/docs/CSS/Syntax /zh-CN/docs/Web/CSS/Syntax
/zh-CN/docs/CSS/Tutorials /zh-CN/docs/Web/CSS/Tutorials
/zh-CN/docs/CSS/Tutorials/Using_CSS_transforms /zh-CN/docs/Web/CSS/CSS_transforms/Using_CSS_transforms
Expand Down Expand Up @@ -2384,7 +2384,7 @@
/zh-CN/docs/Web/CSS/@viewport /zh-CN/docs/Web/CSS
/zh-CN/docs/Web/CSS/Adjacent_sibling_combinator /zh-CN/docs/Web/CSS/Next-sibling_combinator
/zh-CN/docs/Web/CSS/Adjacent_sibling_selectors /zh-CN/docs/Web/CSS/Next-sibling_combinator
/zh-CN/docs/Web/CSS/All_About_The_Containing_Block /zh-CN/docs/Web/CSS/Containing_block
/zh-CN/docs/Web/CSS/All_About_The_Containing_Block /zh-CN/docs/Web/CSS/CSS_display/Containing_block
/zh-CN/docs/Web/CSS/Block_formatting_context /zh-CN/docs/Web/CSS/CSS_display/Block_formatting_context
/zh-CN/docs/Web/CSS/CSS3中的关键帧 /zh-CN/docs/Web/CSS/@keyframes
/zh-CN/docs/Web/CSS/CSSOM_View/坐标系 /zh-CN/docs/Web/CSS/CSSOM_view/Coordinate_systems
Expand All @@ -2405,8 +2405,8 @@
/zh-CN/docs/Web/CSS/CSS_Flexible_Box_Layout/Flexbox_的_向下_支持 /zh-CN/docs/Glossary/Flexbox
/zh-CN/docs/Web/CSS/CSS_Flexible_Box_Layout/典型_用例_的_Flexbox /zh-CN/docs/Web/CSS/CSS_flexible_box_layout/Typical_use_cases_of_flexbox
/zh-CN/docs/Web/CSS/CSS_Flexible_Box_Layout/弹性盒子与其他布局方法的联系 /zh-CN/docs/Web/CSS/CSS_flexible_box_layout/Relationship_of_flexbox_to_other_layout_methods
/zh-CN/docs/Web/CSS/CSS_Flow_Layout/Intro_to_formatting_contexts /zh-CN/docs/Web/CSS/CSS_flow_layout/Introduction_to_formatting_contexts
/zh-CN/docs/Web/CSS/CSS_Flow_Layout/在Flow中和Flow之外 /zh-CN/docs/Web/CSS/CSS_flow_layout/In_flow_and_out_of_flow
/zh-CN/docs/Web/CSS/CSS_Flow_Layout/Intro_to_formatting_contexts /zh-CN/docs/Web/CSS/CSS_display/Introduction_to_formatting_contexts
/zh-CN/docs/Web/CSS/CSS_Flow_Layout/在Flow中和Flow之外 /zh-CN/docs/Web/CSS/CSS_display/In_flow_and_out_of_flow
/zh-CN/docs/Web/CSS/CSS_Grid_Layout/Auto-placement_in_CSS_Grid_Layout /zh-CN/docs/Web/CSS/CSS_grid_layout/Auto-placement_in_grid_layout
/zh-CN/docs/Web/CSS/CSS_Grid_Layout/Box_Alignment_in_CSS_Grid_Layout /zh-CN/docs/Web/CSS/CSS_grid_layout/Box_alignment_in_grid_layout
/zh-CN/docs/Web/CSS/CSS_Grid_Layout/CSS_Grid,_Logical_Values_and_Writing_Modes /zh-CN/docs/Web/CSS/CSS_grid_layout/Grids_logical_values_and_writing_modes
Expand Down Expand Up @@ -2443,12 +2443,20 @@
/zh-CN/docs/Web/CSS/CSS_animations/Tips /zh-CN/docs/Web/API/Web_Animations_API/Tips
/zh-CN/docs/Web/CSS/CSS_container_queries /zh-CN/docs/Web/CSS/CSS_containment/Container_queries
/zh-CN/docs/Web/CSS/CSS_flexible_box_layout/Backwards_compatibility_of_flexbox /zh-CN/docs/Glossary/Flexbox
/zh-CN/docs/Web/CSS/CSS_flow_layout /zh-CN/docs/Web/CSS/CSS_display/Flow_layout
/zh-CN/docs/Web/CSS/CSS_flow_layout/Block_and_inline_layout_in_normal_flow /zh-CN/docs/Web/CSS/CSS_display/Block_and_inline_layout_in_normal_flow
/zh-CN/docs/Web/CSS/CSS_flow_layout/Flow_layout_and_overflow /zh-CN/docs/Web/CSS/CSS_display/Flow_layout_and_overflow
/zh-CN/docs/Web/CSS/CSS_flow_layout/Flow_layout_and_writing_modes /zh-CN/docs/Web/CSS/CSS_display/Flow_layout_and_writing_modes
/zh-CN/docs/Web/CSS/CSS_flow_layout/In_flow_and_out_of_flow /zh-CN/docs/Web/CSS/CSS_display/In_flow_and_out_of_flow
/zh-CN/docs/Web/CSS/CSS_flow_layout/Introduction_to_formatting_contexts /zh-CN/docs/Web/CSS/CSS_display/Introduction_to_formatting_contexts
/zh-CN/docs/Web/CSS/CSS_grid_layout/Grid_layout_and_progressive_enhancement /zh-CN/docs/Web/CSS/CSS_grid_layout
/zh-CN/docs/Web/CSS/CSS_reference /zh-CN/docs/Web/CSS/Reference
/zh-CN/docs/Web/CSS/CSS_values_syntax /zh-CN/docs/Web/CSS
/zh-CN/docs/Web/CSS/CSS_分片 /zh-CN/docs/Web/CSS/CSS_fragmentation
/zh-CN/docs/Web/CSS/Cascade /zh-CN/docs/Web/CSS/CSS_cascade/Cascade
/zh-CN/docs/Web/CSS/Child_selectors /zh-CN/docs/Web/CSS/Child_combinator
/zh-CN/docs/Web/CSS/Common_CSS_Questions /zh-CN/docs/Learn_web_development/Howto/Solve_CSS_problems/CSS_FAQ
/zh-CN/docs/Web/CSS/Containing_block /zh-CN/docs/Web/CSS/CSS_display/Containing_block
/zh-CN/docs/Web/CSS/Descendant_selectors /zh-CN/docs/Web/CSS/Descendant_combinator
/zh-CN/docs/Web/CSS/General_sibling_combinator /zh-CN/docs/Web/CSS/Subsequent-sibling_combinator
/zh-CN/docs/Web/CSS/General_sibling_selectors /zh-CN/docs/Web/CSS/Subsequent-sibling_combinator
Expand All @@ -2461,14 +2469,16 @@
/zh-CN/docs/Web/CSS/Reference/Webkit_Extensions /zh-CN/docs/Web/CSS/WebKit_Extensions
/zh-CN/docs/Web/CSS/Reference/background-blend-mode /zh-CN/docs/Web/CSS/background-blend-mode
/zh-CN/docs/Web/CSS/Reference/mix-blend-mode /zh-CN/docs/Web/CSS/mix-blend-mode
/zh-CN/docs/Web/CSS/Specificity /zh-CN/docs/Web/CSS/CSS_cascade/Specificity
/zh-CN/docs/Web/CSS/Tools /zh-CN/docs/Web/CSS
/zh-CN/docs/Web/CSS/Tutorials/Using_CSS_transforms /zh-CN/docs/Web/CSS/CSS_transforms/Using_CSS_transforms
/zh-CN/docs/Web/CSS/Understanding_z-index /zh-CN/docs/Web/CSS/CSS_positioned_layout/Understanding_z-index
/zh-CN/docs/Web/CSS/Understanding_z-index/Adding_z-index /zh-CN/docs/Web/CSS/CSS_positioned_layout/Understanding_z-index/Using_z-index
/zh-CN/docs/Web/CSS/Understanding_z-index/Stacking_and_float /zh-CN/docs/Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_floating_elements
/zh-CN/docs/Web/CSS/Understanding_z-index/Stacking_without_z-index /zh-CN/docs/Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_without_z-index
/zh-CN/docs/Web/CSS/Understanding_z-index/The_stacking_context /zh-CN/docs/Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_context
/zh-CN/docs/Web/CSS/Using_CSS_variables /zh-CN/docs/Web/CSS/Using_CSS_custom_properties
/zh-CN/docs/Web/CSS/Using_CSS_custom_properties /zh-CN/docs/Web/CSS/CSS_cascading_variables/Using_CSS_custom_properties
/zh-CN/docs/Web/CSS/Using_CSS_variables /zh-CN/docs/Web/CSS/CSS_cascading_variables/Using_CSS_custom_properties
/zh-CN/docs/Web/CSS/attr() /zh-CN/docs/Web/CSS/attr
/zh-CN/docs/Web/CSS/box_model /zh-CN/docs/Web/CSS/CSS_box_model/Introduction_to_the_CSS_box_model
/zh-CN/docs/Web/CSS/calc() /zh-CN/docs/Web/CSS/calc
Expand Down
236 changes: 118 additions & 118 deletions files/zh-cn/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -23779,6 +23779,62 @@
"yan"
]
},
"Web/CSS/CSS_cascade/Cascade": {
"modified": "2020-04-12T01:15:48.713Z",
"contributors": [
"laizenan",
"zjffun",
"Seize-cf",
"distums"
]
},
"Web/CSS/CSS_cascade/Specificity": {
"modified": "2020-10-31T01:29:03.940Z",
"contributors": [
"syt-honey",
"Ninglo",
"imbant",
"laizenan",
"fzhyzamt",
"janyin",
"RainSlide",
"itibbers",
"Douglas_zx",
"sevenen",
"Ende93",
"ghostcode",
"NNNaix",
"xuxun",
"wengwengweng",
"xgqfrms-GitHub",
"tiansh",
"voidzhou",
"xgqfrms",
"kevinfszu",
"zhujun24",
"insekkei",
"ReyCG_sub",
"teoli",
"sleepholic",
"alimon"
]
},
"Web/CSS/CSS_cascading_variables/Using_CSS_custom_properties": {
"modified": "2020-10-15T21:34:42.532Z",
"contributors": [
"kingfree",
"MinimalistYing",
"TTtuntuntutu",
"chrisdavidmills",
"longhaiyan",
"xgqfrms-GitHub",
"Mark_Zhang",
"ObooChin",
"beyoursun",
"XGHeaven",
"ReyCG_sub"
]
},
"Web/CSS/CSS_colors": {
"modified": "2020-11-28T00:06:47.995Z",
"contributors": [
Expand Down Expand Up @@ -23830,6 +23886,18 @@
"Nightingale"
]
},
"Web/CSS/CSS_display/Block_and_inline_layout_in_normal_flow": {
"modified": "2020-09-10T14:45:56.661Z",
"contributors": [
"MmmmHeee",
"ongg",
"islet",
"chinarabbit01",
"Arwinz",
"xunzhonglee",
"sunkaila"
]
},
"Web/CSS/CSS_display/Block_formatting_context": {
"modified": "2020-12-09T10:24:24.921Z",
"contributors": [
Expand Down Expand Up @@ -23873,6 +23941,56 @@
"yan"
]
},
"Web/CSS/CSS_display/Containing_block": {
"modified": "2020-10-09T00:31:23.855Z",
"contributors": [
"Chellyyy",
"Young-Spark",
"laizenan",
"alattalatta",
"thxiami",
"studyMakesMeHappy",
"peppermintCode",
"tolerious",
"hehex9",
"littlelake",
"ucev"
]
},
"Web/CSS/CSS_display/Flow_layout": {
"modified": "2019-03-18T20:48:13.355Z",
"contributors": [
"Bpeanut"
]
},
"Web/CSS/CSS_display/Flow_layout_and_overflow": {
"modified": "2019-08-24T06:48:49.998Z",
"contributors": [
"xunzhonglee"
]
},
"Web/CSS/CSS_display/Flow_layout_and_writing_modes": {
"modified": "2019-08-24T07:10:58.090Z",
"contributors": [
"xunzhonglee"
]
},
"Web/CSS/CSS_display/In_flow_and_out_of_flow": {
"modified": "2019-08-26T05:12:18.778Z",
"contributors": [
"xuduotom",
"wython",
"kernellmd",
"feaswcy"
]
},
"Web/CSS/CSS_display/Introduction_to_formatting_contexts": {
"modified": "2020-10-09T02:26:15.552Z",
"contributors": [
"Chellyyy",
"xunzhonglee"
]
},
"Web/CSS/CSS_flexible_box_layout": {
"modified": "2019-09-20T14:46:03.892Z",
"contributors": [
Expand Down Expand Up @@ -23965,52 +24083,6 @@
"xieminjie"
]
},
"Web/CSS/CSS_flow_layout": {
"modified": "2019-03-18T20:48:13.355Z",
"contributors": [
"Bpeanut"
]
},
"Web/CSS/CSS_flow_layout/Block_and_inline_layout_in_normal_flow": {
"modified": "2020-09-10T14:45:56.661Z",
"contributors": [
"MmmmHeee",
"ongg",
"islet",
"chinarabbit01",
"Arwinz",
"xunzhonglee",
"sunkaila"
]
},
"Web/CSS/CSS_flow_layout/Flow_layout_and_overflow": {
"modified": "2019-08-24T06:48:49.998Z",
"contributors": [
"xunzhonglee"
]
},
"Web/CSS/CSS_flow_layout/Flow_layout_and_writing_modes": {
"modified": "2019-08-24T07:10:58.090Z",
"contributors": [
"xunzhonglee"
]
},
"Web/CSS/CSS_flow_layout/In_flow_and_out_of_flow": {
"modified": "2019-08-26T05:12:18.778Z",
"contributors": [
"xuduotom",
"wython",
"kernellmd",
"feaswcy"
]
},
"Web/CSS/CSS_flow_layout/Introduction_to_formatting_contexts": {
"modified": "2020-10-09T02:26:15.552Z",
"contributors": [
"Chellyyy",
"xunzhonglee"
]
},
"Web/CSS/CSS_fonts": {
"modified": "2019-03-23T22:13:50.386Z",
"contributors": [
Expand Down Expand Up @@ -24526,15 +24598,6 @@
"xunzhonglee"
]
},
"Web/CSS/Cascade": {
"modified": "2020-04-12T01:15:48.713Z",
"contributors": [
"laizenan",
"zjffun",
"Seize-cf",
"distums"
]
},
"Web/CSS/Child_combinator": {
"modified": "2019-03-23T23:32:26.113Z",
"contributors": [
Expand Down Expand Up @@ -24569,22 +24632,6 @@
"ziyunfei"
]
},
"Web/CSS/Containing_block": {
"modified": "2020-10-09T00:31:23.855Z",
"contributors": [
"Chellyyy",
"Young-Spark",
"laizenan",
"alattalatta",
"thxiami",
"studyMakesMeHappy",
"peppermintCode",
"tolerious",
"hehex9",
"littlelake",
"ucev"
]
},
"Web/CSS/Descendant_combinator": {
"modified": "2020-11-23T07:09:12.864Z",
"contributors": [
Expand Down Expand Up @@ -24805,37 +24852,6 @@
"anjia"
]
},
"Web/CSS/Specificity": {
"modified": "2020-10-31T01:29:03.940Z",
"contributors": [
"syt-honey",
"Ninglo",
"imbant",
"laizenan",
"fzhyzamt",
"janyin",
"RainSlide",
"itibbers",
"Douglas_zx",
"sevenen",
"Ende93",
"ghostcode",
"NNNaix",
"xuxun",
"wengwengweng",
"xgqfrms-GitHub",
"tiansh",
"voidzhou",
"xgqfrms",
"kevinfszu",
"zhujun24",
"insekkei",
"ReyCG_sub",
"teoli",
"sleepholic",
"alimon"
]
},
"Web/CSS/Subsequent-sibling_combinator": {
"modified": "2020-10-15T21:22:20.373Z",
"contributors": [
Expand Down Expand Up @@ -24887,22 +24903,6 @@
"ziyunfei"
]
},
"Web/CSS/Using_CSS_custom_properties": {
"modified": "2020-10-15T21:34:42.532Z",
"contributors": [
"kingfree",
"MinimalistYing",
"TTtuntuntutu",
"chrisdavidmills",
"longhaiyan",
"xgqfrms-GitHub",
"Mark_Zhang",
"ObooChin",
"beyoursun",
"XGHeaven",
"ReyCG_sub"
]
},
"Web/CSS/Value_definition_syntax": {
"modified": "2020-03-13T13:15:23.549Z",
"contributors": [
Expand Down
2 changes: 1 addition & 1 deletion files/zh-cn/glossary/ink_overflow/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ l10n:

墨水溢出包括诸如 [box-shadow](/zh-CN/docs/Web/CSS/box-shadow)[边框图片](/zh-CN/docs/Web/CSS/CSS_backgrounds_and_borders)[文本装饰](/zh-CN/docs/Web/CSS/CSS_text_decoration)[轮廓](/zh-CN/docs/Web/CSS/outline)等绘制效果的溢出,这些效果不会影响布局或扩展可滚动溢出区域。墨水溢出还包括字形的悬挂部分,例如超出 em 盒的升部和降部。

由于[替换元素](/zh-CN/docs/Web/CSS/Replaced_element)始终建立一个独立的[格式化上下文](/zh-CN/docs/Web/CSS/CSS_flow_layout/Introduction_to_formatting_contexts),任何替换内容的溢出始终是墨水溢出(而非[可滚动溢出](/zh-CN/docs/Learn_web_development/Core/Styling_basics/Overflow))。
由于[替换元素](/zh-CN/docs/Web/CSS/Replaced_element)始终建立一个独立的[格式化上下文](/zh-CN/docs/Web/CSS/CSS_display/Introduction_to_formatting_contexts),任何替换内容的溢出始终是墨水溢出(而非[可滚动溢出](/zh-CN/docs/Learn_web_development/Core/Styling_basics/Overflow))。

## 参见

Expand Down
4 changes: 2 additions & 2 deletions files/zh-cn/glossary/inset_properties/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ inset 属性包括物理属性({{cssxref("top")}}、{{cssxref("left")}}、{{cs

**物理属性**引用元素的特定物理边界。逻辑属性使用相对于块轴和行轴的方向关键字。**块轴**是指定义块布局中元素堆叠顺序的轴。**行轴**与块轴垂直,代表文本等行级内容在区块内流动的方向。这些映射取决于元素的 {{cssxref("writing-mode")}}、{{cssxref("direction")}} 和 {{cssxref("text-orientation")}}。

inset 属性的解释取决于 {{cssxref("position")}} 属性的值。当设置 `position: absolute` 时,它们代表从[包含块](/zh-CN/docs/Web/CSS/Containing_block)[锚点元素](/zh-CN/docs/Web/CSS/CSS_anchor_positioning/Using)插入。如果使用 `position: relative`,它们表示从盒子的默认外边距边缘位置插入。如果使用 `sticky`,则表示从{{glossary("scroll container", "滚动容器")}}的边缘嵌入。`fixed` 值与 `absolute` 类似,只是元素的位置和大小是相对于其固定定位的包含块(通常是视口)而言的。
inset 属性的解释取决于 {{cssxref("position")}} 属性的值。当设置 `position: absolute` 时,它们代表从[包含块](/zh-CN/docs/Web/CSS/CSS_display/Containing_block)[锚点元素](/zh-CN/docs/Web/CSS/CSS_anchor_positioning/Using)插入。如果使用 `position: relative`,它们表示从盒子的默认外边距边缘位置插入。如果使用 `sticky`,则表示从{{glossary("scroll container", "滚动容器")}}的边缘嵌入。`fixed` 值与 `absolute` 类似,只是元素的位置和大小是相对于其固定定位的包含块(通常是视口)而言的。

## 参见

- [布局与包含快](/zh-CN/docs/Web/CSS/Containing_block)
- [布局与包含快](/zh-CN/docs/Web/CSS/CSS_display/Containing_block)
- [CSS 定位布局](/zh-CN/docs/Web/CSS/CSS_positioned_layout)模块
- [CSS 逻辑属性和值](/zh-CN/docs/Web/CSS/CSS_logical_properties_and_values)模块
- [CSS 锚点定位](/zh-CN/docs/Web/CSS/CSS_anchor_positioning)模块
Loading

0 comments on commit 9e7e180

Please sign in to comment.