From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/web/css/column-fill/index.html | 114 +++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 files/zh-cn/web/css/column-fill/index.html (limited to 'files/zh-cn/web/css/column-fill') diff --git a/files/zh-cn/web/css/column-fill/index.html b/files/zh-cn/web/css/column-fill/index.html new file mode 100644 index 0000000000..0c858b3e3a --- /dev/null +++ b/files/zh-cn/web/css/column-fill/index.html @@ -0,0 +1,114 @@ +--- +title: column-fill +slug: Web/CSS/column-fill +translation_of: Web/CSS/column-fill +--- +
{{CSSRef("CSS Multi-columns")}}
+ +

Summary

+ +

The column-fill CSS property controls how contents are partitioned into columns. Contents are either balanced, which means that contents in all columns will have the same height or, when using auto, just take up the room the content needs. 

+ +

{{cssinfo}}

+ +

Syntax

+ +
Formal syntax: {{csssyntax("column-fill")}}
+
+ +
column-fill: auto;
+column-fill: balance;
+
+/* Global values */
+column-fill: inherit;
+column-fill: initial;
+column-fill: unset;
+
+ +

Values

+ +
+
auto
+
Is a keyword indicating that columns are filled sequentially.
+
balance
+
Is a keyword indicating that content is equally divided between columns.
+
+ +

Examples

+ +
.content-box {
+  column-count: 4;
+  column-rule: 1px solid black;
+  column-fill: balance;
+  height: 200px;
+}
+
+ +

Specifications

+ + + + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('CSS3 Multicol', '#column-fill', 'column-fill')}}{{Spec2('CSS3 Multicol')}} 
+ +

Browser compatibility

+ +
{{CompatibilityTable}}
+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatUnknown}}{{CompatGeckoDesktop("13.0")}}{{property_prefix('-moz')}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
+
+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatGeckoMobile("13.0")}}{{property_prefix('-moz')}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
+
-- cgit v1.2.3-54-g00ecf