From 9a110dee28ae2ef12ee014b98fda6bae6ee48edb Mon Sep 17 00:00:00 2001 From: YujiSoftware Date: Wed, 2 Mar 2022 20:22:51 +0900 Subject: Migrate to Compat macro (zh-cn) --- .../web/css/-webkit-mask-attachment/index.html | 49 +- .../web/css/-webkit-overflow-scrolling/index.html | 51 +- .../zh-cn/web/css/-webkit-touch-callout/index.html | 50 +- files/zh-cn/web/css/@counter-style/index.html | 48 +- .../web/css/@font-face/font-family/index.html | 52 +- .../zh-cn/web/css/@font-face/font-style/index.html | 51 +- .../zh-cn/web/css/@font-feature-values/index.html | 50 +- files/zh-cn/web/css/@import/index.html | 48 +- files/zh-cn/web/css/@media/width/index.html | 48 +- files/zh-cn/web/css/@namespace/index.html | 58 +- .../web/css/_colon_-moz-window-inactive/index.html | 56 +- files/zh-cn/web/css/_colon_default/index.html | 48 +- files/zh-cn/web/css/_colon_dir/index.html | 48 +- files/zh-cn/web/css/_colon_disabled/index.html | 48 +- files/zh-cn/web/css/_colon_first/index.html | 52 +- files/zh-cn/web/css/_colon_fullscreen/index.html | 77 +-- files/zh-cn/web/css/_colon_hover/index.html | 79 +-- files/zh-cn/web/css/_colon_nth-child/index.html | 48 +- files/zh-cn/web/css/_colon_only-of-type/index.html | 48 +- files/zh-cn/web/css/_colon_optional/index.html | 48 +- files/zh-cn/web/css/_colon_required/index.html | 48 +- files/zh-cn/web/css/_colon_root/index.html | 52 +- files/zh-cn/web/css/_colon_visited/index.html | 56 +- .../_doublecolon_-webkit-progress-bar/index.html | 48 +- .../web/css/_doublecolon_first-letter/index.html | 80 +-- .../web/css/_doublecolon_first-line/index.html | 64 +- .../web/css/_doublecolon_grammar-error/index.html | 50 +- .../web/css/_doublecolon_placeholder/index.html | 72 +-- files/zh-cn/web/css/animation-duration/index.html | 51 +- .../web/css/animation-iteration-count/index.html | 57 +- files/zh-cn/web/css/animation-name/index.html | 51 +- .../zh-cn/web/css/animation-play-state/index.html | 55 +- files/zh-cn/web/css/appearance/index.html | 56 +- .../zh-cn/web/css/background-blend-mode/index.html | 48 +- files/zh-cn/web/css/background-color/index.html | 50 +- files/zh-cn/web/css/background-origin/index.html | 72 +-- files/zh-cn/web/css/border-bottom-color/index.html | 50 +- .../web/css/border-bottom-left-radius/index.html | 102 +-- .../web/css/border-bottom-right-radius/index.html | 102 +-- files/zh-cn/web/css/border-bottom-style/index.html | 54 +- files/zh-cn/web/css/border-color/index.html | 2 + files/zh-cn/web/css/border-image-outset/index.html | 2 + files/zh-cn/web/css/border-image-repeat/index.html | 50 +- files/zh-cn/web/css/border-left/index.html | 52 +- files/zh-cn/web/css/border-radius/index.html | 134 +--- files/zh-cn/web/css/border-right/index.html | 52 +- files/zh-cn/web/css/border-spacing/index.html | 48 +- .../web/css/border-top-left-radius/index.html | 94 +-- .../web/css/border-top-right-radius/index.html | 86 +-- files/zh-cn/web/css/child_combinator/index.html | 48 +- files/zh-cn/web/css/class_selectors/index.html | 50 +- files/zh-cn/web/css/clip/index.html | 52 +- files/zh-cn/web/css/column-count/index.html | 74 +-- files/zh-cn/web/css/column-fill/index.html | 48 +- files/zh-cn/web/css/column-rule-color/index.html | 50 +- files/zh-cn/web/css/column-rule-style/index.html | 48 +- files/zh-cn/web/css/column-rule-width/index.html | 48 +- files/zh-cn/web/css/column-rule/index.html | 48 +- files/zh-cn/web/css/column-span/index.html | 50 +- files/zh-cn/web/css/content/index.html | 56 +- files/zh-cn/web/css/counter-increment/index.html | 48 +- .../web/css/css_backgrounds_and_borders/index.html | 48 -- .../web/css/css_flexible_box_layout/index.html | 50 -- files/zh-cn/web/css/css_fonts/index.html | 48 -- files/zh-cn/web/css/css_masking/index.html | 64 -- files/zh-cn/web/css/css_positioning/index.html | 48 -- files/zh-cn/web/css/css_shapes/index.html | 48 -- files/zh-cn/web/css/css_transitions/index.html | 54 -- files/zh-cn/web/css/cssom_view/index.html | 50 +- files/zh-cn/web/css/flex-direction/index.html | 60 +- files/zh-cn/web/css/flex-flow/index.html | 51 +- files/zh-cn/web/css/flex-shrink/index.html | 64 +- files/zh-cn/web/css/font-size-adjust/index.html | 57 +- files/zh-cn/web/css/font-size/index.html | 50 +- files/zh-cn/web/css/font-smooth/index.html | 50 +- files/zh-cn/web/css/font-stretch/index.html | 52 +- .../web/css/gradient/linear-gradient()/index.html | 167 +---- .../repeating-linear-gradient()/index.html | 139 +---- .../repeating-radial-gradient()/index.html | 94 +-- files/zh-cn/web/css/hyphens/index.html | 687 +-------------------- files/zh-cn/web/css/integer/index.html | 48 +- files/zh-cn/web/css/isolation/index.html | 52 +- files/zh-cn/web/css/justify-content/index.html | 174 +----- files/zh-cn/web/css/list-style-image/index.html | 48 +- files/zh-cn/web/css/list-style-position/index.html | 50 +- files/zh-cn/web/css/list-style/index.html | 48 +- files/zh-cn/web/css/margin-bottom/index.html | 56 +- files/zh-cn/web/css/margin-left/index.html | 56 +- files/zh-cn/web/css/margin-right/index.html | 56 +- files/zh-cn/web/css/margin-top/index.html | 56 +- files/zh-cn/web/css/mask-image/index.html | 94 +-- files/zh-cn/web/css/max-width/index.html | 71 +-- files/zh-cn/web/css/number/index.html | 56 +- files/zh-cn/web/css/order/index.html | 75 +-- files/zh-cn/web/css/outline-offset/index.html | 48 +- files/zh-cn/web/css/outline-style/index.html | 72 +-- files/zh-cn/web/css/overflow-y/index.html | 52 +- files/zh-cn/web/css/overflow/index.html | 52 +- files/zh-cn/web/css/padding-bottom/index.html | 52 +- .../zh-cn/web/css/padding-inline-start/index.html | 52 +- files/zh-cn/web/css/padding-right/index.html | 52 +- files/zh-cn/web/css/padding-top/index.html | 52 +- files/zh-cn/web/css/page-break-after/index.html | 70 +-- files/zh-cn/web/css/position_value/index.html | 80 +-- files/zh-cn/web/css/resize/index.html | 66 +- .../web/css/scroll-snap-coordinate/index.html | 52 +- .../web/css/scroll-snap-destination/index.html | 52 +- .../zh-cn/web/css/scroll-snap-points-x/index.html | 52 +- .../zh-cn/web/css/scroll-snap-points-y/index.html | 52 +- files/zh-cn/web/css/string/index.html | 67 +- files/zh-cn/web/css/text-align/index.html | 137 +--- files/zh-cn/web/css/text-justify/index.html | 58 +- files/zh-cn/web/css/text-overflow/index.html | 127 +--- files/zh-cn/web/css/text-rendering/index.html | 77 +-- files/zh-cn/web/css/text-transform/index.html | 180 +----- files/zh-cn/web/css/transform-box/index.html | 52 +- files/zh-cn/web/css/transition-delay/index.html | 54 +- files/zh-cn/web/css/transition-duration/index.html | 52 +- files/zh-cn/web/css/transition-property/index.html | 70 +-- .../web/css/transition-timing-function/index.html | 53 +- files/zh-cn/web/css/type_selectors/index.html | 50 +- files/zh-cn/web/css/universal_selectors/index.html | 67 +- files/zh-cn/web/css/url()/index.html | 48 +- files/zh-cn/web/css/will-change/index.html | 50 +- files/zh-cn/web/css/word-spacing/index.html | 48 +- 125 files changed, 120 insertions(+), 8162 deletions(-) (limited to 'files/zh-cn/web/css') diff --git a/files/zh-cn/web/css/-webkit-mask-attachment/index.html b/files/zh-cn/web/css/-webkit-mask-attachment/index.html index d9eeb59593..35fc7968c6 100644 --- a/files/zh-cn/web/css/-webkit-mask-attachment/index.html +++ b/files/zh-cn/web/css/-webkit-mask-attachment/index.html @@ -49,54 +49,7 @@ translation_of: Web/CSS/-webkit-mask-attachment

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}
- {{CompatNo}} 24.0
{{CompatNo}}{{CompatNo}}{{CompatNo}}4.0
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support2.1{{CompatNo}}{{CompatNo}}{{CompatNo}}3.2
-
+{{Compat("css.properties.-webkit-mask-attachment")}}

另见

diff --git a/files/zh-cn/web/css/-webkit-overflow-scrolling/index.html b/files/zh-cn/web/css/-webkit-overflow-scrolling/index.html index 33c9fd5ed1..b68f6654ee 100644 --- a/files/zh-cn/web/css/-webkit-overflow-scrolling/index.html +++ b/files/zh-cn/web/css/-webkit-overflow-scrolling/index.html @@ -36,53 +36,4 @@ translation_of: Web/CSS/-webkit-overflow-scrolling

浏览器兼容性

-

{{CompatibilityTable}}

- - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatUnknown}}{{CompatNo}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
- - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatNo}}{{CompatUnknown}}{{CompatUnknown}}5.0
- -

相关链接:

- - +{{Compat("css.properties.-webkit-overflow-scrolling")}} diff --git a/files/zh-cn/web/css/-webkit-touch-callout/index.html b/files/zh-cn/web/css/-webkit-touch-callout/index.html index 0f0d3a2182..6c9cdaf1fd 100644 --- a/files/zh-cn/web/css/-webkit-touch-callout/index.html +++ b/files/zh-cn/web/css/-webkit-touch-callout/index.html @@ -41,52 +41,4 @@ translation_of: Web/CSS/-webkit-touch-callout

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatVersionUnknown}}[1]
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatVersionUnknown}}[1]
-
- -

[1] -webkit-touch-callout 属性最早在 iOS 2.0 上实现,后来被添加到WebKit ({{webkitbug(121507)}}).

+{{Compat("css.properties.-webkit-touch-callout")}} diff --git a/files/zh-cn/web/css/@counter-style/index.html b/files/zh-cn/web/css/@counter-style/index.html index 65ef2e55ec..90f435d736 100644 --- a/files/zh-cn/web/css/@counter-style/index.html +++ b/files/zh-cn/web/css/@counter-style/index.html @@ -147,53 +147,7 @@ translation_of: Web/CSS/@counter-style

浏览器支持

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatNo}}{{CompatGeckoDesktop(33)}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatNo}}{{CompatGeckoDesktop(33)}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
+{{Compat("css.at-rules.counter-style")}}

相关阅读

diff --git a/files/zh-cn/web/css/@font-face/font-family/index.html b/files/zh-cn/web/css/@font-face/font-family/index.html index 9c22740f13..3c2866177c 100644 --- a/files/zh-cn/web/css/@font-face/font-family/index.html +++ b/files/zh-cn/web/css/@font-face/font-family/index.html @@ -61,54 +61,4 @@ font-family: examplefont;

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatChrome("4")}}12.0{{CompatGeckoDesktop("1.9.1")}}{{CompatIE("6.0")}}{{CompatOpera("9.0")}}{{CompatSafari("3.1")}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MiniOpera MobileSafari Mobile
Basic support{{CompatAndroid("2.2")}}{{CompatGeckoMobile("1.9.1")}}{{CompatIE("10.0")}}{{CompatNo}}{{CompatOpera("12.0")}}{{CompatSafari("3.1")}}
-
+{{Compat("css.at-rules.font-face.font-family")}} diff --git a/files/zh-cn/web/css/@font-face/font-style/index.html b/files/zh-cn/web/css/@font-face/font-style/index.html index 10d0af4e08..660323dade 100644 --- a/files/zh-cn/web/css/@font-face/font-style/index.html +++ b/files/zh-cn/web/css/@font-face/font-style/index.html @@ -81,53 +81,4 @@ font-style: oblique;

Browser compatibility

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureFirefox (Gecko)ChromeInternet ExplorerOperaSafari
Basic support{{CompatGeckoDesktop("1.9.1")}}4.0  4.010.03.1
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MiniOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatGeckoMobile("1.9.1")}}{{CompatUnknown}}{{CompatNo}}10.0{{CompatVersionUnknown}}
-
- +{{Compat("css.at-rules.font-face.font-style")}} diff --git a/files/zh-cn/web/css/@font-feature-values/index.html b/files/zh-cn/web/css/@font-feature-values/index.html index acc7c855fd..5995a0e719 100644 --- a/files/zh-cn/web/css/@font-feature-values/index.html +++ b/files/zh-cn/web/css/@font-feature-values/index.html @@ -72,55 +72,7 @@ translation_of: Web/CSS/@font-feature-values

Browser compatibility

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatUnknown}}{{CompatGeckoDesktop("34")}} [1]{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatGeckoMobile("34")}} [1]{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -

[1] Experimental implementation of the CSS Fonts Level 3 extensions was available since Gecko 24. It was governed by the preference layout.css.font-features.enabled defaulting to true on Nightly and Aurora only.

+{{Compat("css.at-rules.font-feature-values")}}

See also

diff --git a/files/zh-cn/web/css/@import/index.html b/files/zh-cn/web/css/@import/index.html index 71a6ea41c3..bd6fe82819 100644 --- a/files/zh-cn/web/css/@import/index.html +++ b/files/zh-cn/web/css/@import/index.html @@ -75,50 +75,4 @@ translation_of: Web/CSS/@import

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}5.5{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}5.5{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("css.at-rules.import")}} diff --git a/files/zh-cn/web/css/@media/width/index.html b/files/zh-cn/web/css/@media/width/index.html index 79b6612aac..e9169fe339 100644 --- a/files/zh-cn/web/css/@media/width/index.html +++ b/files/zh-cn/web/css/@media/width/index.html @@ -77,50 +77,4 @@ translation_of: Web/CSS/@media/width

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}9.0{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.at-rules.media.width")}} diff --git a/files/zh-cn/web/css/@namespace/index.html b/files/zh-cn/web/css/@namespace/index.html index f521da521a..4e34f5523b 100644 --- a/files/zh-cn/web/css/@namespace/index.html +++ b/files/zh-cn/web/css/@namespace/index.html @@ -74,60 +74,4 @@ svg|a {}

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
特性ChromeFirefox (Gecko)Internet ExplorerOperaSafari
基础支持{{CompatChrome(1.0)}}{{ CompatGeckoDesktop(1.0) }}9.08.01.0
命名空间选择器 (|){{CompatChrome(1.0)}}{{ CompatGeckoDesktop(1.0) }}9.08.03.0
-
- -
- - - - - - - - - - - - - - - - - - - - - -
特性AndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
基础支持{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.at-rules.namespace")}} diff --git a/files/zh-cn/web/css/_colon_-moz-window-inactive/index.html b/files/zh-cn/web/css/_colon_-moz-window-inactive/index.html index ec8a4b56bb..d2523691d6 100644 --- a/files/zh-cn/web/css/_colon_-moz-window-inactive/index.html +++ b/files/zh-cn/web/css/_colon_-moz-window-inactive/index.html @@ -45,58 +45,4 @@ translation_of: 'Web/CSS/:-moz-window-inactive'

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatNo}}{{CompatNo}}{{CompatGeckoDesktop(2)}}[1]{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -

[1] Implemented in {{bug("508482")}}.

+{{Compat("css.selectors.-moz-window-inactive")}} diff --git a/files/zh-cn/web/css/_colon_default/index.html b/files/zh-cn/web/css/_colon_default/index.html index fc03ea200e..5aafb92fdd 100644 --- a/files/zh-cn/web/css/_colon_default/index.html +++ b/files/zh-cn/web/css/_colon_default/index.html @@ -86,50 +86,4 @@ input:default + label {

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support10.0{{CompatGeckoDesktop("2.0")}}{{CompatNo}}10.05.0
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatGeckoMobile("2.0")}}{{CompatNo}}10.05.0
-
+{{Compat("css.selectors.default")}} diff --git a/files/zh-cn/web/css/_colon_dir/index.html b/files/zh-cn/web/css/_colon_dir/index.html index 9cd5b27a7f..501349ce96 100644 --- a/files/zh-cn/web/css/_colon_dir/index.html +++ b/files/zh-cn/web/css/_colon_dir/index.html @@ -58,53 +58,7 @@ translation_of: 'Web/CSS/:dir'

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{ CompatNo() }}{{ CompatGeckoDesktop("17") }} {{ property_prefix("-moz") }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatNo() }}{{ CompatGeckoMobile("17") }} {{ property_prefix("-moz") }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}
-
+{{Compat("css.selectors.dir")}} diff --git a/files/zh-cn/web/css/_colon_disabled/index.html b/files/zh-cn/web/css/_colon_disabled/index.html index abdf4e68f1..491aa1d02d 100644 --- a/files/zh-cn/web/css/_colon_disabled/index.html +++ b/files/zh-cn/web/css/_colon_disabled/index.html @@ -116,53 +116,7 @@ function toggleBilling() {

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1.0{{ CompatGeckoDesktop("1") }}9.09.03.1
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support2.1{{ CompatGeckoMobile("1") }}9.09.53.1
-
+{{Compat("css.selectors.disabled")}}

相关链接

diff --git a/files/zh-cn/web/css/_colon_first/index.html b/files/zh-cn/web/css/_colon_first/index.html index 41d7bc3d37..9c00c4d921 100644 --- a/files/zh-cn/web/css/_colon_first/index.html +++ b/files/zh-cn/web/css/_colon_first/index.html @@ -75,57 +75,7 @@ p {

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - -
特性ChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
基础支持{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatNo}}8.09.2{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
基础支持{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatNo}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
+{{Compat("css.selectors.first")}}

 

diff --git a/files/zh-cn/web/css/_colon_fullscreen/index.html b/files/zh-cn/web/css/_colon_fullscreen/index.html index 8fcd34273b..32138a3756 100644 --- a/files/zh-cn/web/css/_colon_fullscreen/index.html +++ b/files/zh-cn/web/css/_colon_fullscreen/index.html @@ -153,82 +153,7 @@ fullscreenButton.addEventListener('click', enterFullscreen);

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
特性ChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
-

基本支持

-
15.0 {{property_prefix("-webkit")}}[1]12{{CompatGeckoDesktop("9.0")}}{{property_prefix("-moz")}}[1]
- {{CompatGeckoDesktop("47.0")}}[2]
11 {{property_prefix("-ms")}}[3]{{CompatUnknown}}6.0 {{property_prefix("-webkit")}}[1]
全屏下选取所有元素{{CompatUnknown}}12{{CompatGeckoDesktop(43)}}11{{CompatUnknown}}{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
特性AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
基本支持{{CompatUnknown}}{{CompatGeckoMobile("9.0")}}
- {{CompatGeckoDesktop("47.0")}}[2]
{{CompatNo}}{{CompatNo}}{{CompatNo}}
全屏下选取所有元素{{CompatUnknown}}{{CompatGeckoMobile("43")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -

[1] Webkit和Gecko前缀版本在fullscreen之间带有破折号, 但W3C标准使用一个单词::fullscreen, :-webkit-full-screen, :-moz-full-screen.

- -

[2] Gecko 47.0 {{geckoRelease("47.0")}} 通过参数full-screen-api.unprefix.enabled使用不带前缀的伪类, 默认为false.

- -

[3] Internet Explorer使用前缀-ms,但在fullscreen之间没有破折号:-ms-fullscreen.

+{{Compat("css.selectors.fullscreen")}}

再看看

diff --git a/files/zh-cn/web/css/_colon_hover/index.html b/files/zh-cn/web/css/_colon_hover/index.html index a8fa4e40c1..c34a45dbc7 100644 --- a/files/zh-cn/web/css/_colon_hover/index.html +++ b/files/zh-cn/web/css/_colon_hover/index.html @@ -112,81 +112,4 @@ div.menu-bar li:hover > ul {

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
for <a> elements0.2{{ CompatGeckoDesktop(1.0) }}4.04.02.0.4 (419)
- various bugs before
for all elements0.2{{ CompatGeckoDesktop(1.0) }}7.07.02.0.4 (419)
- various bugs before
for pseudo-element{{CompatUnknown}}{{ CompatGeckoDesktop(28) }}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
- -

在IE8-11中,将鼠标指针悬停于一个元素上上下滚动页面而不移动光标会让元素停留在 {{cssxref(":hover")}} 的状态直到鼠标移动。详见 IE bug 926665.

- -

在IE9(或是更早的版本中),如果如果一个 {{HTMLElement("table")}}元素 有一个  non-auto {{cssxref("width")}} 和 {{cssxref("overflow-x")}}: auto; 的父对象,而且这个 {{HTMLElement("table")}}元素有足够多的内容以至于溢出它的父元素,同时表中的元素有 {{cssxref(":hover")}}的样式,那么悬停在其上会使这个{{HTMLElement("table")}}元素的高度增大。这是一个 显示该错误的demo 。一个避免这个错误的方法是在这个表格的父元素为 min-height: 0%;(必须强调是百分比形式,0 和 0px 都不会起作用)。这也是在 jQuery ticket #10854 提交过的错误,但是并没有被解决,因为这不被认为是 jQuery 的错误。

- -

至于iOS 7.1.2 中的Safari Mobile,点击一个可以点击的元素会使这个元素进入{{cssxref(":hover")}}的状态,而这个元素会保持悬停状态直到另一个元素进入{{cssxref(":hover")}}状态。

- -

另请参见:

- - +{{Compat("css.selectors.hover")}} diff --git a/files/zh-cn/web/css/_colon_nth-child/index.html b/files/zh-cn/web/css/_colon_nth-child/index.html index 55d5fff80c..63a88b0d28 100644 --- a/files/zh-cn/web/css/_colon_nth-child/index.html +++ b/files/zh-cn/web/css/_colon_nth-child/index.html @@ -156,53 +156,7 @@ div em {

兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1.0{{CompatGeckoDesktop("1.9.1")}}9.09.53.1 
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support2.1{{CompatGeckoMobile("1.9.1")}}9.09.53.1
-
+{{Compat("css.selectors.nth-child")}}

注意

diff --git a/files/zh-cn/web/css/_colon_only-of-type/index.html b/files/zh-cn/web/css/_colon_only-of-type/index.html index 2f9cfcf423..2004111c23 100644 --- a/files/zh-cn/web/css/_colon_only-of-type/index.html +++ b/files/zh-cn/web/css/_colon_only-of-type/index.html @@ -74,53 +74,7 @@ translation_of: 'Web/CSS/:only-of-type'

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1.0{{ CompatGeckoDesktop("1.9.1") }}9.09.53.2
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support2.1{{ CompatGeckoMobile("1.9.1") }}9.010.03.2
-
+{{Compat("css.selectors.only-of-type")}}

参见

diff --git a/files/zh-cn/web/css/_colon_optional/index.html b/files/zh-cn/web/css/_colon_optional/index.html index 627a0f697c..03520f20c0 100644 --- a/files/zh-cn/web/css/_colon_optional/index.html +++ b/files/zh-cn/web/css/_colon_optional/index.html @@ -65,53 +65,7 @@ input:optional {

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support10.0{{ CompatGeckoDesktop("2") }}1010.05.0
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatGeckoMobile("2") }}{{ CompatNo() }}10.05.0
-
+{{Compat("css.selectors.optional")}}

参见

diff --git a/files/zh-cn/web/css/_colon_required/index.html b/files/zh-cn/web/css/_colon_required/index.html index 1374ca2753..f5d81d4e3a 100644 --- a/files/zh-cn/web/css/_colon_required/index.html +++ b/files/zh-cn/web/css/_colon_required/index.html @@ -55,53 +55,7 @@ translation_of: 'Web/CSS/:required'

浏览器兼容

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support10.0{{ CompatGeckoDesktop("2") }}1010.05.0
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatGeckoMobile("2") }}{{ CompatNo() }}10.05.0
-
+{{Compat("css.selectors.required")}}

参见

diff --git a/files/zh-cn/web/css/_colon_root/index.html b/files/zh-cn/web/css/_colon_root/index.html index 130f2e16a6..107c7f6c68 100644 --- a/files/zh-cn/web/css/_colon_root/index.html +++ b/files/zh-cn/web/css/_colon_root/index.html @@ -52,54 +52,4 @@ translation_of: 'Web/CSS/:root'

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1{{CompatVersionUnknown}}{{CompatGeckoDesktop("1.7")}}99.51.0
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
+{{Compat("css.selectors.root")}} diff --git a/files/zh-cn/web/css/_colon_visited/index.html b/files/zh-cn/web/css/_colon_visited/index.html index 8ebd4f7e46..77a5a44be7 100644 --- a/files/zh-cn/web/css/_colon_visited/index.html +++ b/files/zh-cn/web/css/_colon_visited/index.html @@ -107,61 +107,7 @@ a:visited {

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0{{ CompatGeckoDesktop("1.0") }}3.53.51.0
Restrictions in CSS properties allowed in a statement using :visited6{{CompatGeckoDesktop("2.0") }}8 (or earlier){{ CompatUnknown() }}5.0
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatGeckoMobile("1.0") }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.selectors.visited")}}

参见

diff --git a/files/zh-cn/web/css/_doublecolon_-webkit-progress-bar/index.html b/files/zh-cn/web/css/_doublecolon_-webkit-progress-bar/index.html index 754177afee..cca8bfc739 100644 --- a/files/zh-cn/web/css/_doublecolon_-webkit-progress-bar/index.html +++ b/files/zh-cn/web/css/_doublecolon_-webkit-progress-bar/index.html @@ -48,53 +48,7 @@ translation_of: 'Web/CSS/::-webkit-progress-bar'

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureFirefox (Gecko)ChromeInternet ExplorerOperaSafari
Basic support{{CompatNo}}{{CompatVersionUnknown}}{{CompatNo}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureFirefox Mobile (Gecko)AndroidIE PhoneOpera MobileSafari Mobile
Basic support{{CompatNo}}{{CompatVersionUnknown}}{{CompatNo}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("css.selectors.-webkit-progress-bar")}}

参见

diff --git a/files/zh-cn/web/css/_doublecolon_first-letter/index.html b/files/zh-cn/web/css/_doublecolon_first-letter/index.html index 2876bd9e1c..bf08086b64 100644 --- a/files/zh-cn/web/css/_doublecolon_first-letter/index.html +++ b/files/zh-cn/web/css/_doublecolon_first-letter/index.html @@ -103,85 +103,7 @@ p::first-letter { /* 使用:first来兼容IE8- */

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0{{ CompatGeckoDesktop("1") }}9.07.01.0 (85)
Old one-colon syntax (:first-letter)1.0{{ CompatGeckoDesktop("1") }}5.53.51.0 (85)
Support for the Dutch digraph IJ{{ CompatNo() }}{{ CompatNo() }} {{ bug("92176") }} {{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatGeckoMobile("1") }}{{ CompatNo() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
Old one-colon syntax (:first-letter){{ CompatUnknown() }}{{ CompatGeckoMobile("1") }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
Support for the Dutch digraph IJ{{ CompatUnknown() }}{{ CompatNo() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.selectors.first-letter")}}

参见

diff --git a/files/zh-cn/web/css/_doublecolon_first-line/index.html b/files/zh-cn/web/css/_doublecolon_first-line/index.html index efbb961c47..5fa42a874b 100644 --- a/files/zh-cn/web/css/_doublecolon_first-line/index.html +++ b/files/zh-cn/web/css/_doublecolon_first-line/index.html @@ -137,69 +137,7 @@ sed do eiusmod tempor incididunt ut labore.</p>

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0 (buggy when using text-transform: issue 129669){{ CompatGeckoDesktop("1") }}9.07.01.0 (85) (buggy when using text-transform: issue 3409)
Old one-colon syntax (:first-line)1.0 (buggy when using text-transform: issue 129669){{ CompatGeckoDesktop("1") }}5.53.51.0 (85) (buggy when using text-transform: issue 3409)
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatGeckoMobile("1") }}{{ CompatNo() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
Old one-colon syntax (:first-line){{ CompatUnknown() }}{{ CompatGeckoMobile("1") }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.selectors.first-line")}}

参见

diff --git a/files/zh-cn/web/css/_doublecolon_grammar-error/index.html b/files/zh-cn/web/css/_doublecolon_grammar-error/index.html index 9c17a50e9b..c08b08a808 100644 --- a/files/zh-cn/web/css/_doublecolon_grammar-error/index.html +++ b/files/zh-cn/web/css/_doublecolon_grammar-error/index.html @@ -40,55 +40,7 @@ translation_of: 'Web/CSS/::grammar-error'

Browser compatibility

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
+{{Compat("css.selectors.grammar-error")}}

See also

diff --git a/files/zh-cn/web/css/_doublecolon_placeholder/index.html b/files/zh-cn/web/css/_doublecolon_placeholder/index.html index 227ae6f8a8..a7d4673d15 100644 --- a/files/zh-cn/web/css/_doublecolon_placeholder/index.html +++ b/files/zh-cn/web/css/_doublecolon_placeholder/index.html @@ -79,77 +79,7 @@ translation_of: 'Web/CSS/::placeholder'

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
功能ChromeFirefox (Gecko)EdgeInternet ExplorerOperaSafari
基本支持{{CompatChrome(57)}}{{CompatGeckoDesktop("51.0")}}[1]{{CompatNo}}{{CompatNo}}4410.1
前缀支持SupportedSupportedSupported10 -ms-Supported5 -webkit-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
功能AndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
基本支持{{CompatChrome(57)}}{{CompatChrome(57)}}{{CompatGeckoMobile("52.0")}}{{CompatNo}} 10.3
前缀支持SupportedSupportedSupported10 -ms-Supported5 -webkit-
-
- -

[1] 在Gecko 51.0 {{geckoRelease("51.0")}} 以及更低的版本中,请使用 {{cssxref("::-moz-placeholder")}} 。

+{{Compat("css.selectors.placeholder")}}

相似阅读

diff --git a/files/zh-cn/web/css/animation-duration/index.html b/files/zh-cn/web/css/animation-duration/index.html index 3ca2a86fd9..0ecfa9b9cb 100644 --- a/files/zh-cn/web/css/animation-duration/index.html +++ b/files/zh-cn/web/css/animation-duration/index.html @@ -66,56 +66,7 @@ animation-duration: 10s, 30s, 230ms

浏览器兼容

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support3.0{{ property_prefix("-webkit") }}{{ CompatGeckoDesktop("5.0") }}{{ property_prefix("-moz") }}
- {{ CompatGeckoDesktop("16.0") }}
1012{{ property_prefix("-o") }}
- 12.10 #
4.0{{ property_prefix("-webkit") }}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support2.0{{ property_prefix("-webkit") }}{{ CompatGeckoMobile("5.0") }}{{ property_prefix("-moz") }}
- {{ CompatGeckoMobile("16.0") }}
{{ CompatNo() }}{{ CompatNo() }}4.2{{ property_prefix("-webkit") }}
-
+{{Compat("css.properties.animation-duration")}}

See also

diff --git a/files/zh-cn/web/css/animation-iteration-count/index.html b/files/zh-cn/web/css/animation-iteration-count/index.html index 283caae60b..d1f958d49d 100644 --- a/files/zh-cn/web/css/animation-iteration-count/index.html +++ b/files/zh-cn/web/css/animation-iteration-count/index.html @@ -70,62 +70,7 @@ animation-iteration-count: 2, 0, infinite;

Browser compatibility 兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{ CompatVersionUnknown() }}{{ property_prefix("-webkit") }}
- {{CompatChrome(43.0)}}
{{ CompatGeckoDesktop("5.0") }}{{ property_prefix("-moz") }}
- {{ CompatGeckoDesktop("16.0") }}
10 12 {{ property_prefix("-o") }}
- 12.10
4.0{{ property_prefix("-webkit") }}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChromeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
Basic support{{ CompatVersionUnknown() }}{{ property_prefix("-webkit") }}{{CompatUnknown}}{{ CompatGeckoMobile("5.0") }}{{ property_prefix("-moz") }}
- {{ CompatGeckoMobile("16.0") }}
{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{CompatChrome(43.0)}}
-  
-
+{{Compat("css.properties.animation-iteration-count")}}

See also

diff --git a/files/zh-cn/web/css/animation-name/index.html b/files/zh-cn/web/css/animation-name/index.html index 38b64a701e..e76fbf0110 100644 --- a/files/zh-cn/web/css/animation-name/index.html +++ b/files/zh-cn/web/css/animation-name/index.html @@ -77,56 +77,7 @@ animation-name: unset

浏览器兼容

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatVersionUnknown}}{{property_prefix("-webkit")}}{{CompatGeckoDesktop("5.0")}}{{property_prefix("-moz")}}
- {{CompatGeckoDesktop("16.0")}}
10 12 {{property_prefix("-o")}}
- 12.10 #
4.0{{property_prefix("-webkit")}}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{property_prefix("-webkit")}}{{CompatGeckoMobile("5.0")}}{{property_prefix("-moz")}}
- {{CompatGeckoMobile("16.0")}}
10{{CompatUnknown}}{{CompatUnknown}}
-
+{{Compat("css.properties.animation-name")}}

See also

diff --git a/files/zh-cn/web/css/animation-play-state/index.html b/files/zh-cn/web/css/animation-play-state/index.html index 7def3d5d0f..fbdbe823a0 100644 --- a/files/zh-cn/web/css/animation-play-state/index.html +++ b/files/zh-cn/web/css/animation-play-state/index.html @@ -67,60 +67,7 @@ animation-play-state: unset;

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatVersionUnknown}}{{property_prefix("-webkit")}}
- {{CompatChrome(43.0)}}
{{CompatGeckoDesktop("5.0")}}{{property_prefix("-moz")}}
- {{CompatGeckoDesktop("16.0")}}
1012 {{property_prefix("-o")}}
- 12.10
{{CompatVersionUnknown}}{{property_prefix("-webkit")}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChromeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
+{{Compat("css.properties.animation-play-state")}}

参见

diff --git a/files/zh-cn/web/css/appearance/index.html b/files/zh-cn/web/css/appearance/index.html index 678101c0f1..4a6afa9bd0 100644 --- a/files/zh-cn/web/css/appearance/index.html +++ b/files/zh-cn/web/css/appearance/index.html @@ -1780,61 +1780,7 @@ translation_of: Web/CSS/appearance

{{Compat("css.properties.appearance")}}

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
浏览器ChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
最低支持1.0{{CompatGeckoDesktop("1.0")}}{{property_prefix("-moz")}}[1]{{CompatNo}}{{CompatUnknown}}3.0{{property_prefix("-webkit")}}
-
- -
- - - - - - - - - - - - - - - - - - - -
浏览器AndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
最低支持{{CompatUnknown}}{{CompatGeckoMobile("1.0")}}11.0{{property_prefix("-webkit")}}[2]{{CompatUnknown}}{{CompatUnknown}}
-
- -

[1] 不完全支持。

- -

[2] 只有 none, button和 textfield 值被支持,详见 the documentation on MSDN

- -

正式语法

- -{{csssyntax}} +{{Compat("css.properties.appearance")}}

示例

diff --git a/files/zh-cn/web/css/background-blend-mode/index.html b/files/zh-cn/web/css/background-blend-mode/index.html index 4c063163f1..77b621c4b1 100644 --- a/files/zh-cn/web/css/background-blend-mode/index.html +++ b/files/zh-cn/web/css/background-blend-mode/index.html @@ -92,53 +92,7 @@ console.log(document.getElementById('div'));

浏览器兼容性

-

{{CompatibilityTable()}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support35{{CompatGeckoDesktop('30.0')}}{{CompatNo()}}227.1
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatNo()}}{{CompatGeckoMobile('30.0')}}{{CompatNo()}}22iOS 8
-
+{{Compat("css.properties.background-blend-mode")}}

参见

diff --git a/files/zh-cn/web/css/background-color/index.html b/files/zh-cn/web/css/background-color/index.html index 297cd25feb..215c5da41f 100644 --- a/files/zh-cn/web/css/background-color/index.html +++ b/files/zh-cn/web/css/background-color/index.html @@ -124,55 +124,7 @@ background-color: unset;

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
特性Firefox (Gecko)ChromeInternet ExplorerOperaSafari (WebKit)
基础支持{{CompatGeckoDesktop("1.0")}}1.04.0 [1]3.51.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - -
特性Firefox Mobile (Gecko)AndroidIE PhoneOpera MobileSafari Mobile
基础支持{{CompatGeckoMobile("1.9.2")}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -

[1]: In IE8-9, there is a bug where a computed {{cssxref("background-color")}} of transparent causes click events to not get fired on overlaid elements. See the click event documentation for details.

+{{Compat("css.properties.background-color")}}

查看更多

diff --git a/files/zh-cn/web/css/background-origin/index.html b/files/zh-cn/web/css/background-origin/index.html index f9db364d8d..683f22bc9e 100644 --- a/files/zh-cn/web/css/background-origin/index.html +++ b/files/zh-cn/web/css/background-origin/index.html @@ -90,77 +90,7 @@ background-origin: inherit

浏览器兼容性

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1.0 [3]{{CompatGeckoDesktop("2.0")}} [1]9.0 [2]10.53.0 (522) [3]
content-box1.0 [3]{{CompatGeckoDesktop("2.0")}} [1]9.0 [2]{{CompatNo}}3.0 (522) [3]
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
content-box{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -

[1] Gecko supported, from version 1.1 to version 1.9.2, which corresponds to Firefox 1.0 to 3.6 included, a different, and prefixed, syntax: -moz-background-origin: padding | border.

- -

[2] Internet Explorer up to version 7 behaves as if there was a background-origin: border-box; Internet Explorer 8 behaves as if it were background-origin: padding-box; which is the regular default value.

- -

[3] Webkit also supports the prefixed version of this proprietary, and in that case, in addition to the current keywords, the alternative synonyms: padding, border, and content.

- -

[4] Konqueror 3.5.4 supports -khtml-background-origin.

+{{Compat("css.properties.background-origin")}}

相关文献

diff --git a/files/zh-cn/web/css/border-bottom-color/index.html b/files/zh-cn/web/css/border-bottom-color/index.html index 315bb30c54..ca23148fb5 100644 --- a/files/zh-cn/web/css/border-bottom-color/index.html +++ b/files/zh-cn/web/css/border-bottom-color/index.html @@ -84,55 +84,7 @@ border-bottom-color: #F5F6F7;

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
特性ChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
基础支持1.0{{CompatGeckoDesktop("1.0")}}[1]43.51.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - -
特性AndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
基础支持1.0{{CompatGeckoMobile("1.0")}}[1]6.5111.0
-
- -

[1] 像 Firefox 这样,基于 Gecko 的浏览器也支持非标准的 {{Cssxref("-moz-border-bottom-colors")}} CSS 属性,来设置底边多重颜色。

+{{Compat("css.properties.border-bottom-color")}}

另见

diff --git a/files/zh-cn/web/css/border-bottom-left-radius/index.html b/files/zh-cn/web/css/border-bottom-left-radius/index.html index c1982c205c..9051dc630c 100644 --- a/files/zh-cn/web/css/border-bottom-left-radius/index.html +++ b/files/zh-cn/web/css/border-bottom-left-radius/index.html @@ -163,107 +163,7 @@ div {

Browser compatibility

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0 {{property_prefix("-webkit")}}
- 4.0
{{CompatVersionUnknown}}{{property_prefix("-webkit")}}
- {{CompatVersionUnknown}}
1.0 (1.0){{property_prefix("-moz")}}[1]
- 4.0 (2.0)[3]
9.010.53.0 (522){{property_prefix("-webkit")}}
- 5.0 (532.5)
Percentages4.0{{CompatUnknown}}1.0 (1.0)[2]
- 4.0 (2.0)
9.010.55.0 (532.5)
Elliptical corners1.0{{CompatUnknown}}3.5 (1.9.1)9.010.53.0 (522)
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatVersionUnknown}}{{property_prefix("-webkit")}}
- {{CompatVersionUnknown}}
{{CompatVersionUnknown}}[3]{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Percentages{{CompatUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Elliptical corners{{CompatUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -

[1] The prefixed version (allowed from Firefox 1 to Firefox 12) of this property uses a different name, -moz-border-radius-bottomleft, than the final property as Mozilla implemented it before the final name was coined.

- -

[2] Before Firefox 4, the {{cssxref("<percentage>")}} was relative to the width of the box even when specifying the radius for a height). This implied that -moz-border-radius-bottomleft was always drawing an arc of circle, and never an ellipse, when followed by a single value.

- -

[3] Prior to Gecko 50.0 {{geckoRelease("50.0")}}, border styles of rounded corners were always rendered as if border-style was solid. This has been fixed in Gecko 50.0.

- -

In addition to the unprefixed support, Gecko 44.0 {{geckoRelease("44.0")}} added support for a -webkit prefixed version of the property for web compatibility reasons behind the preference layout.css.prefixes.webkit, defaulting to false. Since Gecko 49.0 {{geckoRelease("49.0")}} the preference defaults to true.

+{{Compat("css.properties.border-bottom-left-radius")}}

See also

diff --git a/files/zh-cn/web/css/border-bottom-right-radius/index.html b/files/zh-cn/web/css/border-bottom-right-radius/index.html index 4c21cf8996..8885c1b660 100644 --- a/files/zh-cn/web/css/border-bottom-right-radius/index.html +++ b/files/zh-cn/web/css/border-bottom-right-radius/index.html @@ -165,107 +165,7 @@ div {

Browser compatibility

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0 {{property_prefix("-webkit")}}
- 4.0
{{CompatVersionUnknown}}{{property_prefix("-webkit")}}
- {{CompatVersionUnknown}}
1.0 (1.0){{property_prefix("-moz")}}[1]
- 4.0 (2.0)[3]
9.010.53.0 (522){{property_prefix("-webkit")}}
- 5.0 (532.5)
Percentages4.0{{CompatVersionUnknown}}1.0 (1.0)[2]
- 4.0 (2.0)
9.010.55.0 (532.5)
Elliptical corners1.0{{CompatVersionUnknown}}3.5 (1.9.1)9.010.53.0 (522)
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatVersionUnknown}}{{property_prefix("-webkit")}}
- {{CompatVersionUnknown}}
{{CompatVersionUnknown}}[3]{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Percentages{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Elliptical corners{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -

[1] The prefixed version (allowed from Firefox 1 to Firefox 12) of this property uses a different name, -moz-border-radius-bottomright.

- -

[2] Before Firefox 4, the {{cssxref("<percentage>")}} was relative to the width of the box even when specifying the radius for a height). This implied that -moz-border-radius-bottomright was always drawing an arc of circle, and never an ellipse, when followed by a single value.

- -

[3] Prior to Gecko 50.0 {{geckoRelease("50.0")}}, border styles of rounded corners were always rendered as if border-style was solid. This has been fixed in Gecko 50.0.

- -

In addition to the unprefixed support, Gecko 44.0 {{geckoRelease("44.0")}} added support for a -webkit prefixed version of the property for web compatibility reasons behind the preference layout.css.prefixes.webkit, defaulting to false. Since Gecko 49.0 {{geckoRelease("49.0")}} the preference defaults to true.

+{{Compat("css.properties.border-bottom-right-radius")}}

See also

diff --git a/files/zh-cn/web/css/border-bottom-style/index.html b/files/zh-cn/web/css/border-bottom-style/index.html index 1a90f4455b..d3755d88c4 100644 --- a/files/zh-cn/web/css/border-bottom-style/index.html +++ b/files/zh-cn/web/css/border-bottom-style/index.html @@ -115,59 +115,7 @@ tr, td {

Browser compatibility

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1.0{{CompatVersionUnknown}}1.0[1]5.59.21.0
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatVersionUnknown() }}{{CompatVersionUnknown}}{{ CompatVersionUnknown() }}[1]7.0{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
-
- -

[1] Prior to Firefox 50, border styles of rounded corners (with {{cssxref("border-radius")}}) were always rendered as if border-bottom-style was&nbsolid. This has been fixed in Firefox 50.

+{{Compat("css.properties.border-bottom-style")}}

See also

diff --git a/files/zh-cn/web/css/border-color/index.html b/files/zh-cn/web/css/border-color/index.html index bb30c3161c..410ca4b38b 100644 --- a/files/zh-cn/web/css/border-color/index.html +++ b/files/zh-cn/web/css/border-color/index.html @@ -159,6 +159,8 @@ ul {

浏览器兼容性

+{{Compat("css.properties.border-color")}} +

{{CompatibilityTable}}

diff --git a/files/zh-cn/web/css/border-image-outset/index.html b/files/zh-cn/web/css/border-image-outset/index.html index cbae437d1a..959c2031c8 100644 --- a/files/zh-cn/web/css/border-image-outset/index.html +++ b/files/zh-cn/web/css/border-image-outset/index.html @@ -78,6 +78,8 @@ border-image-repeat: inherit;

浏览器兼容性

+{{Compat("css.properties.border-image-outset")}} +

{{CompatibilityTable}}

diff --git a/files/zh-cn/web/css/border-image-repeat/index.html b/files/zh-cn/web/css/border-image-repeat/index.html index 0a480d564b..f26a3a22e6 100644 --- a/files/zh-cn/web/css/border-image-repeat/index.html +++ b/files/zh-cn/web/css/border-image-repeat/index.html @@ -72,52 +72,4 @@ border-image-repeat: inherit

Browser compatibility

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support15.0{{CompatGeckoDesktop("15.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatGeckoMobile("15.0")}}{{CompatNo}}{{CompatUnknown}}{{CompatUnknown}}
-
- -

早期候选推荐版本中有space,不过没有浏览器实现它,因而移除,将来可能添加进来。

+{{Compat("css.properties.border-image-repeat")}} diff --git a/files/zh-cn/web/css/border-left/index.html b/files/zh-cn/web/css/border-left/index.html index c0158bc725..ebbb734708 100644 --- a/files/zh-cn/web/css/border-left/index.html +++ b/files/zh-cn/web/css/border-left/index.html @@ -104,54 +104,4 @@ border-left: none thick green;

Browser compatibility

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0{{CompatVersionUnknown}}{{ CompatGeckoDesktop("1.0") }}43.51.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support1.0{{CompatVersionUnknown}}{{ CompatGeckoMobile("1.0") }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
-
+{{Compat("css.properties.border-left")}} diff --git a/files/zh-cn/web/css/border-radius/index.html b/files/zh-cn/web/css/border-radius/index.html index eb1e31d5a6..cd0dca9bb1 100644 --- a/files/zh-cn/web/css/border-radius/index.html +++ b/files/zh-cn/web/css/border-radius/index.html @@ -195,139 +195,7 @@ border-bottom-left-radius: 3px 4px;

{{Compat("css.properties.border-radius")}}

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureFirefox (Gecko)ChromeInternet ExplorerOperaSafari
Basic support{{ CompatGeckoDesktop("2.0") }}
- {{ CompatGeckoDesktop("1.0") }}{{ property_prefix("-moz") }}
4.0
- 0.2{{ property_prefix("-webkit") }}
9.010.55.0
- 3.0{{ property_prefix("-webkit") }}
Elliptical borders{{ CompatGeckoDesktop("1.9.1") }}yesyesyesyes, but see below
4 values for 4 cornersyes4.0yesyes5.0
Percentagesyes
- was {{ non-standard_inline() }} (see below)
yesyes11.55.1
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureiOS SafariOpera MiniOpera MobileAndroid Browser
Basic support3.2{{ property_prefix("-webkit") }}{{ CompatNo() }}{{ CompatNo() }}2.1{{ property_prefix("-webkit") }}
Elliptical borders{{ CompatUnknown() }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatUnknown() }}
4 values for 4 corners{{ CompatUnknown() }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatUnknown() }}
Percentages{{ CompatUnknown() }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatUnknown() }}
-
- -

<percentage>

- -
    -
  • 在旧版本的 Chrome 和 Safari 中不支持。(fixed in Sepember 2010)
  • -
  • 在 11.50 版本以前的 Opera 中实现有问题。
  • -
  • Gecko 2.0 (Firefox 4) 版本前实现不标准:水平半轴和垂直半轴相对于盒子模型的宽度。
  • -
  • 在旧版本的 iOS (iOS 5 之前) 和 Android 中 (WebKit 532 之前) 不支持。
  • -
- -

Gecko notes

- -

In Gecko 2.0 -moz-border-radius was renamed to border-radius; -moz-border-radius was supported as an alias until Gecko 12.0. In order to conform to the CSS3 standard, Gecko 2.0

- -
    -
  • changes the handling of {{cssxref("<percentage>")}} values to match the specification. You can specify an ellipse as border on an arbitrary sized element just with border-radius: 50%;
  • -
  • makes rounded corners clip content and images (if {{ cssxref("overflow") }}: visible is not set)
  • -
- -
Note: Support for the prefixed version (-moz-border-radius) was removed in Gecko 13.0 {{ geckoRelease("13.0") }}.
- -

WebKit notes

- -

旧版本的 Safari 和 Chrome (532.5 之前)

- -
    -
  • 只支持单值设定四个角。必须使用完整值来设置不同角。 
  • -
  • 不支持斜杠 / 符号,如果指定了两个值,那么四个角都为椭圆角. -
    /* 它们是等价的 */
    -
    --webkit-border-radius: 40px 10px;
    -        border-radius: 40px/10px;
    -
    -
  • -
- -

Opera notes

- -

In Opera (prior to Opera 11.60), applying border-radius to replaced elements will not have rounded corners.

+{{Compat("css.properties.border-radius")}}

另请参阅

diff --git a/files/zh-cn/web/css/border-right/index.html b/files/zh-cn/web/css/border-right/index.html index 8a68acacc0..5fb217bb09 100644 --- a/files/zh-cn/web/css/border-right/index.html +++ b/files/zh-cn/web/css/border-right/index.html @@ -102,54 +102,4 @@ border-right: thick green;

Browser compatibility

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0{{CompatVersionUnknown}}{{ CompatGeckoDesktop("1.0") }}43.51.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support1.0{{CompatVersionUnknown}}{{ CompatGeckoMobile("1.0") }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
-
+{{Compat("css.properties.border-right")}} diff --git a/files/zh-cn/web/css/border-spacing/index.html b/files/zh-cn/web/css/border-spacing/index.html index b7ea9a871c..4fecd64f65 100644 --- a/files/zh-cn/web/css/border-spacing/index.html +++ b/files/zh-cn/web/css/border-spacing/index.html @@ -73,50 +73,4 @@ border-spacing: unset;

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
特性ChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
基础支持1.0{{ CompatGeckoDesktop("1.0") }}8.04.01.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - -
特性AndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
基础支持{{ CompatUnknown() }}{{ CompatGeckoMobile("1.9.2") }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.properties.border-spacing")}} diff --git a/files/zh-cn/web/css/border-top-left-radius/index.html b/files/zh-cn/web/css/border-top-left-radius/index.html index c96767e330..f03aa29fda 100644 --- a/files/zh-cn/web/css/border-top-left-radius/index.html +++ b/files/zh-cn/web/css/border-top-left-radius/index.html @@ -154,99 +154,7 @@ div {

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0 {{property_prefix("-webkit")}}
- 4.0
1.0 (1.0){{property_prefix("-moz")}}[1]
- 4.0 (2.0)
9.010.53.0 (522){{property_prefix("-webkit")}}
- 5.0 (532.5)
Percentages4.01.0 (1.0)[2]
- 4.0 (2.0)
9.010.55.0 (532.5)
Elliptical corners1.03.5 (1.9.1)9.010.53.0 (522)
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Percentages{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Elliptical corners{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -

 

- -
备注:
- -

[1] 火狐浏览器较早的版本(Firefox 1 到 Firefox 12) 在使用这个属性时需使用浏览器厂商前缀,-moz-border-radius-topleft,最近的版本Mozilla实现了这个属性的支持(在最终的版本被敲定之前)。

- -

Gecko内核在圆角处无法正确的表现点划线(dotted)和虚线(dashed):它会将它们渲染成实线({{bug("382721")}}).

- -

[2] 在火狐4之前,这个 <percentage> 是相对于盒子的宽度,即便指定了一个高做为半径. 这被意味着到 -moz-border-radius-topleft是单个值的时候,它总是画一个圆弧,而不是一个椭圆。

+{{Compat("css.properties.border-top-left-radius")}}

另请参阅

diff --git a/files/zh-cn/web/css/border-top-right-radius/index.html b/files/zh-cn/web/css/border-top-right-radius/index.html index a818e58307..e9d59f36a8 100644 --- a/files/zh-cn/web/css/border-top-right-radius/index.html +++ b/files/zh-cn/web/css/border-top-right-radius/index.html @@ -193,91 +193,7 @@ border-top-right-radius: inherit

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
特性ChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support0.2 {{ property_prefix("-webkit") }} -

1.0 (1.0) - 12.0 (12.0){{ property_prefix("-moz") }}
- 但有一个非标准的名称:
- -moz-border-radius-topright

-
9.010.53.0 (522){{ property_prefix("-webkit") }}
4.04.0 (2.0)5.0 (532.5)
百分值4.01.0 (1.0) 有一个bug (see note)9.010.55.0 (532.5)
4.0 (2.0)
椭圆拐角0.23.5 (1.9.1)9.010.53.0 (522 )
-
- -
- - - - - - - - - - - - - - - - - - - -
特性AndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
基本支持{{CompatUnknown()}}{{CompatUnknown()}}{{CompatUnknown()}}{{CompatUnknown()}}{{CompatUnknown()}}
-
- -

浏览器备注

- -

火狐内核(Gecko)

- -
    -
  • 前缀版 (允许火狐1至火狐12) 属性使用一个不相同的名称 -moz-border-radius-topright, 相对最终属性当最终的名称被敲定之前火狐才算完成。
  • -
  • 在火狐4之前,这个 {{cssxref("<percentage>")}} 是相对盒子宽度,甚至是当指定半径作为一个高). 这被应用到 当-moz-border-radius-topright是单个值的时候,它总是画一个圆弧,而不是一个椭圆。
  • -
  • Gecko不可能正确地以点和虚线展示在圆角,它展示它们是以实线({{ bug("382721") }}).
  • -
+{{Compat("css.properties.border-top-right-radius")}}

参见

diff --git a/files/zh-cn/web/css/child_combinator/index.html b/files/zh-cn/web/css/child_combinator/index.html index ef03621513..485d44aac5 100644 --- a/files/zh-cn/web/css/child_combinator/index.html +++ b/files/zh-cn/web/css/child_combinator/index.html @@ -66,52 +66,6 @@ div > span {

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}7.0{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.selectors.child")}}

相关

diff --git a/files/zh-cn/web/css/class_selectors/index.html b/files/zh-cn/web/css/class_selectors/index.html index 237e6dbaa0..de1ef537c7 100644 --- a/files/zh-cn/web/css/class_selectors/index.html +++ b/files/zh-cn/web/css/class_selectors/index.html @@ -70,54 +70,6 @@ translation_of: Web/CSS/Class_selectors

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.selectors.class")}}

See also

diff --git a/files/zh-cn/web/css/clip/index.html b/files/zh-cn/web/css/clip/index.html index 25b8eb6407..45d27458e6 100644 --- a/files/zh-cn/web/css/clip/index.html +++ b/files/zh-cn/web/css/clip/index.html @@ -94,57 +94,7 @@ clip: inherit

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.01.0 (1.0)4.07.01.0 (85)
8.0
- 该版本支持逗号语法。
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.properties.clip")}}

See also

diff --git a/files/zh-cn/web/css/column-count/index.html b/files/zh-cn/web/css/column-count/index.html index 76d558975a..5047f3c7eb 100644 --- a/files/zh-cn/web/css/column-count/index.html +++ b/files/zh-cn/web/css/column-count/index.html @@ -63,76 +63,4 @@ column-count: unset;

浏览器兼容性

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatVersionUnknown}}{{property_prefix('-webkit')}}{{compatGeckoDesktop("1.8")}}{{property_prefix('-moz')}}1011.13.0 (522){{property_prefix('-webkit')}}
on display: table-caption{{CompatVersionUnknown}}{{compatGeckoDesktop("37")}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{compatGeckoMobile("1.8")}}{{property_prefix('-moz')}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
on display: table-caption{{CompatVersionUnknown}}{{compatGeckoMobile("37")}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
- -

 

- -

了解更多

- -

https://www.w3.org/TR/css3-multicol/

- -

https://caniuse.com/#search=column

- -

 

-
+{{Compat("css.properties.column-count")}} diff --git a/files/zh-cn/web/css/column-fill/index.html b/files/zh-cn/web/css/column-fill/index.html index 0c858b3e3a..04335f12eb 100644 --- a/files/zh-cn/web/css/column-fill/index.html +++ b/files/zh-cn/web/css/column-fill/index.html @@ -65,50 +65,4 @@ column-fill: unset;

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}}
-
+{{Compat("css.properties.column-fill")}} diff --git a/files/zh-cn/web/css/column-rule-color/index.html b/files/zh-cn/web/css/column-rule-color/index.html index 99109bb9ae..e2d6f2915a 100644 --- a/files/zh-cn/web/css/column-rule-color/index.html +++ b/files/zh-cn/web/css/column-rule-color/index.html @@ -56,52 +56,4 @@ column-rule-color: inherit;

Browser compatibility

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatVersionUnknown}}{{property_prefix('-webkit')}}3.5 (1.9.1){{property_prefix('-moz')}}1011.13.0 (522){{property_prefix('-webkit')}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
+{{Compat("css.properties.column-rule-color")}} diff --git a/files/zh-cn/web/css/column-rule-style/index.html b/files/zh-cn/web/css/column-rule-style/index.html index 6b14a9ba93..b4106664f3 100644 --- a/files/zh-cn/web/css/column-rule-style/index.html +++ b/files/zh-cn/web/css/column-rule-style/index.html @@ -61,50 +61,4 @@ column-rule-style: inherit;

Browser compatibility

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{ CompatVersionUnknown() }}{{ property_prefix('-webkit') }}3.5 (1.9.1){{ property_prefix('-moz') }}1011.13.0 (522){{ property_prefix('-webkit') }}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatVersionUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.properties.column-rule-style")}} diff --git a/files/zh-cn/web/css/column-rule-width/index.html b/files/zh-cn/web/css/column-rule-width/index.html index ae3e1cd669..18f4412168 100644 --- a/files/zh-cn/web/css/column-rule-width/index.html +++ b/files/zh-cn/web/css/column-rule-width/index.html @@ -60,50 +60,4 @@ column-rule-width: inherit;

Browser compatibility

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{ CompatVersionUnknown() }}{{ property_prefix('-webkit') }}3.5 (1.9.1){{ property_prefix('-moz') }}1011.13.0 (522){{ property_prefix('-webkit') }}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatVersionUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.properties.column-rule-width")}} diff --git a/files/zh-cn/web/css/column-rule/index.html b/files/zh-cn/web/css/column-rule/index.html index be4a2b55d9..f14383d968 100644 --- a/files/zh-cn/web/css/column-rule/index.html +++ b/files/zh-cn/web/css/column-rule/index.html @@ -76,50 +76,4 @@ p.abc { column-rule: thick inset blue; }

浏览器兼容性

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatVersionUnknown}}{{property_prefix('-webkit')}}3.5 (1.9.1){{property_prefix('-moz')}}1011.13.0 (522){{property_prefix('-webkit')}}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
+{{Compat("css.properties.column-rule")}} diff --git a/files/zh-cn/web/css/column-span/index.html b/files/zh-cn/web/css/column-span/index.html index 1f24023c88..0d29c35d67 100644 --- a/files/zh-cn/web/css/column-span/index.html +++ b/files/zh-cn/web/css/column-span/index.html @@ -85,52 +85,4 @@ h2 {

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{ CompatVersionUnknown() }}{{ property_prefix('-webkit') }}{{ CompatNo() }}1011.1+{{ CompatVersionUnknown() }}{{ property_prefix('-webkit') }}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatVersionUnknown() }}{{ property_prefix('-webkit') }}{{ CompatVersionUnknown() }}{{ property_prefix('-webkit') }}{{ CompatNo() }}{{ CompatUnknown() }}11.1+{{ CompatVersionUnknown() }}{{ property_prefix('-webkit') }}
-
+{{Compat("css.properties.column-span")}} diff --git a/files/zh-cn/web/css/content/index.html b/files/zh-cn/web/css/content/index.html index c36142fc76..f9579104f1 100644 --- a/files/zh-cn/web/css/content/index.html +++ b/files/zh-cn/web/css/content/index.html @@ -229,61 +229,7 @@ li {

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0{{ CompatGeckoDesktop("1") }}8.04.01.0
url() support1.0{{ CompatGeckoDesktop("1") }}8.07.01.0
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support1.0{{ CompatGeckoMobile("1.0") }}8.09.51.0
-
+{{Compat("css.properties.content")}}

 

diff --git a/files/zh-cn/web/css/counter-increment/index.html b/files/zh-cn/web/css/counter-increment/index.html index 56907bf233..8c8d4c16cf 100644 --- a/files/zh-cn/web/css/counter-increment/index.html +++ b/files/zh-cn/web/css/counter-increment/index.html @@ -85,53 +85,7 @@ counter-increment: unset;

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support2.01.0 (?)8.09.23.0 (?)
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
+{{Compat("css.properties.counter-increment")}}

参考

diff --git a/files/zh-cn/web/css/css_backgrounds_and_borders/index.html b/files/zh-cn/web/css/css_backgrounds_and_borders/index.html index 0a43587fc3..6d7d887b6f 100644 --- a/files/zh-cn/web/css/css_backgrounds_and_borders/index.html +++ b/files/zh-cn/web/css/css_backgrounds_and_borders/index.html @@ -114,52 +114,4 @@ translation_of: Web/CSS/CSS_Backgrounds_and_Borders -

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1.0{{CompatGeckoDesktop("1.0")}}4.03.51.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatGeckoMobile("1.9.2")}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}1.0
-
diff --git a/files/zh-cn/web/css/css_flexible_box_layout/index.html b/files/zh-cn/web/css/css_flexible_box_layout/index.html index 1ffd8a352a..6d4390071f 100644 --- a/files/zh-cn/web/css/css_flexible_box_layout/index.html +++ b/files/zh-cn/web/css/css_flexible_box_layout/index.html @@ -123,54 +123,4 @@ translation_of: Web/CSS/CSS_Flexible_Box_Layout -

浏览器兼容性

-

{{CompatibilityTable()}}

- -
- - - - - - - - - - - - - - - - - - - -
特性Firefox (Gecko)ChromeInternet ExplorerOperaSafari
基础支持{{CompatGeckoDesktop("20.0")}}21.0{{property_prefix("-webkit")}}
- 29.0
10.0{{property_prefix("-ms")}}
- 11.0
12.106.1{{property_prefix("-webkit")}}
-
- -
- - - - - - - - - - - - - - - - - - - -
特性Firefox Mobile (Gecko)AndroidIE PhoneOpera MobileSafari Mobile
基础支持{{CompatVersionUnknown()}}4.41112.107.1{{property_prefix("-webkit")}}
-
diff --git a/files/zh-cn/web/css/css_fonts/index.html b/files/zh-cn/web/css/css_fonts/index.html index 940c9fb0d0..dc3d2bdca4 100644 --- a/files/zh-cn/web/css/css_fonts/index.html +++ b/files/zh-cn/web/css/css_fonts/index.html @@ -89,52 +89,4 @@ translation_of: Web/CSS/CSS_Fonts -

Browser compatibility

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.01.0 (1.0)3.03.51.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
diff --git a/files/zh-cn/web/css/css_masking/index.html b/files/zh-cn/web/css/css_masking/index.html index 4a77f79254..4c99c88b6e 100644 --- a/files/zh-cn/web/css/css_masking/index.html +++ b/files/zh-cn/web/css/css_masking/index.html @@ -66,68 +66,4 @@ translation_of: Web/CSS/CSS_Masking -

Browser compatibility

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support (for SVG){{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
Support for HTML, for mask and mask-* longhand properties{{CompatUnknown}}{{CompatGeckoDesktop(53.0)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support (for SVG){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Support for HTML, for mask and mask-* longhand properties{{CompatUnknown}}{{CompatGeckoMobile(53.0)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
diff --git a/files/zh-cn/web/css/css_positioning/index.html b/files/zh-cn/web/css/css_positioning/index.html index 31d27615e2..c5ec8ad4cd 100644 --- a/files/zh-cn/web/css/css_positioning/index.html +++ b/files/zh-cn/web/css/css_positioning/index.html @@ -57,52 +57,4 @@ translation_of: Web/CSS/CSS_Positioning -

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
性能ChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0{{ CompatGeckoDesktop("1") }}5.06.01.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support1.0{{ CompatGeckoMobile("1") }}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
diff --git a/files/zh-cn/web/css/css_shapes/index.html b/files/zh-cn/web/css/css_shapes/index.html index 08df50f95b..4c955a243f 100644 --- a/files/zh-cn/web/css/css_shapes/index.html +++ b/files/zh-cn/web/css/css_shapes/index.html @@ -61,52 +61,4 @@ translation_of: Web/CSS/CSS_Shapes -

Browser compatibility

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support3754{{CompatNo}}248.0 {{property_prefix("-webkit")}}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}8.0 {{property_prefix("-webkit")}}
-
diff --git a/files/zh-cn/web/css/css_transitions/index.html b/files/zh-cn/web/css/css_transitions/index.html index f9153ca449..8cd7410b51 100644 --- a/files/zh-cn/web/css/css_transitions/index.html +++ b/files/zh-cn/web/css/css_transitions/index.html @@ -53,61 +53,7 @@ translation_of: Web/CSS/CSS_Transitions -

浏览器兼容

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
兼容版本1.0 {{ property_prefix("-webkit") }}
- 26.0
{{ CompatGeckoDesktop("2.0") }} {{ property_prefix("-moz") }}
- {{ CompatGeckoDesktop("16.0") }}
10.011.6 {{ property_prefix("-o") }}
- 12.10 #
3.0 {{ property_prefix("-webkit") }}
- 6.1
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
兼容版本2.1 {{ property_prefix("-webkit") }}{{ CompatGeckoMobile("2.0") }} {{ property_prefix("-moz") }}
- {{ CompatGeckoMobile("16.0") }}
{{ CompatUnknown() }}10.0 {{ property_prefix("-o") }}
- 12.10 #
3.2 {{ property_prefix("-webkit") }}
-

 

diff --git a/files/zh-cn/web/css/cssom_view/index.html b/files/zh-cn/web/css/cssom_view/index.html index 6e2aa61e50..88e2ac0738 100644 --- a/files/zh-cn/web/css/cssom_view/index.html +++ b/files/zh-cn/web/css/cssom_view/index.html @@ -48,52 +48,4 @@ translation_of: Web/CSS/CSSOM_View

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
功能ChromeFirefox (Gecko)Internet ExplorerOperaSafari
基本支持{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
功能AndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
基本支持{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("css.properties.scroll-behavior")}} diff --git a/files/zh-cn/web/css/flex-direction/index.html b/files/zh-cn/web/css/flex-direction/index.html index eb1fa87ac0..63e5134ba0 100644 --- a/files/zh-cn/web/css/flex-direction/index.html +++ b/files/zh-cn/web/css/flex-direction/index.html @@ -126,65 +126,7 @@ flex-direction: unset;

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureFirefox (Gecko)ChromeInternet ExplorerOperaSafari
Basic support{{CompatGeckoDesktop("18.0")}} (behind a pref) [1] [2]
- {{CompatGeckoDesktop("20.0")}} [2]
21.0{{ property_prefix("-webkit") }} -

10 {{ property_prefix("-ms") }}
- 11

-
12.10 -

7 {{ property_prefix("-webkit") }}

-
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureFirefox Mobile (Gecko)AndroidIE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatNo() }}12.10{{ CompatNo() }}
-
- -

[1] 要激活Firefox 18和19的flexbox支持,用户必须将about:config首选项“layout.css.flexbox.enabled”更改为true。

- -

[2] 从Firefox 28开始支持多行flexbox。

- -

除了无前缀的支持外,Gecko 48.0{{geckoRelease("48.0")}}由于web兼容性原因,在首选项“layout.css.prefixes.webkit”之后增加了-webkit前缀版本的支持,默认设为false。 由于Gecko 49.0 {{geckoRelease("49.0")}},首选项默认为true。

+{{Compat("css.properties.flex-direction")}}

参考

diff --git a/files/zh-cn/web/css/flex-flow/index.html b/files/zh-cn/web/css/flex-flow/index.html index 4ed7ff98e5..4dc0e69573 100644 --- a/files/zh-cn/web/css/flex-flow/index.html +++ b/files/zh-cn/web/css/flex-flow/index.html @@ -52,56 +52,7 @@ translation_of: Web/CSS/flex-flow

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
特性Firefox (Gecko)ChromeInternet ExplorerOperaSafari
基础支持28.0 -

21.0{{property_prefix("-webkit")}}
- 29.0

-
1112.106.1{{ property_prefix("-webkit") }}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureFirefox Mobile (Gecko)AndroidIE PhoneOpera MobileSafari Mobile
基础支持28.0{{ CompatUnknown() }}1112.107.1{{ property_prefix("-webkit") }}
-
+{{Compat("css.properties.flex-flow")}}

另参见

diff --git a/files/zh-cn/web/css/flex-shrink/index.html b/files/zh-cn/web/css/flex-shrink/index.html index ec5d4d562a..4a8173d3a0 100644 --- a/files/zh-cn/web/css/flex-shrink/index.html +++ b/files/zh-cn/web/css/flex-shrink/index.html @@ -102,69 +102,7 @@ flex-shrink: unset

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureFirefox (Gecko)ChromeEdgeInternet ExplorerOperaSafari
Basic support{{CompatGeckoDesktop("18.0")}}[1]
- {{CompatGeckoDesktop("32.0")}}[2]
21.0{{property_prefix("-webkit")}}{{CompatVersionUnknown}}{{property_prefix("-webkit")}}
- {{CompatVersionUnknown}}
10[3]12.108.0{{property_prefix("-webkit")}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureFirefox Mobile (Gecko)AndroidEdgeIE PhoneOpera MobileSafari Mobile
Basic support{{CompatGeckoMobile("18.0")}}[1]
- {{CompatGeckoMobile("32.0")}}[2]
{{CompatUnknown}}{{CompatVersionUnknown}}{{property_prefix("-webkit")}}
- {{CompatVersionUnknown}}
{{CompatNo}}12.10{{CompatNo}}
-
- -

[1] Firefox 仅支持单行 flexbox 直到 Firefox 28版本。To activate flexbox support, for Firefox 18 and 19, the user has to change the about:config preference "layout.css.flexbox.enabled" to true.

- -

In addition to the unprefixed support, Gecko 48.0 {{geckoRelease("48.0")}} added support for a -webkit prefixed version of the property for web compatibility reasons behind the preference layout.css.prefixes.webkit, defaulting to false. Since Gecko 49.0 {{geckoRelease("49.0")}} the preference defaults to true.

- -

[2] 在 Firefox 32 之前,Gecko不能将动画从0开始或停止在0(Spec,Demo).。

- -

[3] Internet Explorer 10 使用 0 而不是 1 作为 flex-shrink 属性的初始值。A workaround is to always set an explicit value for flex-shrink. See Flexbug #6 for more info.

+{{Compat("css.properties.flex-shrink")}}

参考

diff --git a/files/zh-cn/web/css/font-size-adjust/index.html b/files/zh-cn/web/css/font-size-adjust/index.html index 364a0a6524..d61de5b6a6 100644 --- a/files/zh-cn/web/css/font-size-adjust/index.html +++ b/files/zh-cn/web/css/font-size-adjust/index.html @@ -81,62 +81,7 @@ font-size-adjust: inherit;

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support -

{{ CompatNo() }}

-
1.0 (1.0)
- Windows only
{{ CompatNo() }} {{ CompatNo() }} {{ CompatNo() }} 
{{ CompatGeckoDesktop("1.9") }}
- All platforms
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
Basic support{{ CompatUnknown() }}{{ CompatGeckoMobile("1.9.2") }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{CompatChrome(42.0)}}
-
+{{Compat("css.properties.font-size-adjust")}}

参见

diff --git a/files/zh-cn/web/css/font-size/index.html b/files/zh-cn/web/css/font-size/index.html index 5c61a68884..e2d18657f0 100644 --- a/files/zh-cn/web/css/font-size/index.html +++ b/files/zh-cn/web/css/font-size/index.html @@ -179,52 +179,4 @@ span { font-size: 16px; }

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1.0{{CompatGeckoDesktop("1")}}5.57.01.0
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support1.01.0{{CompatGeckoMobile("1")}}6.06.01.0
-
+{{Compat("css.properties.font-size")}} diff --git a/files/zh-cn/web/css/font-smooth/index.html b/files/zh-cn/web/css/font-smooth/index.html index 49c5319ac1..893fe26862 100644 --- a/files/zh-cn/web/css/font-smooth/index.html +++ b/files/zh-cn/web/css/font-smooth/index.html @@ -77,55 +77,7 @@ font-smooth: 2em;

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureFirefox (Gecko)ChromeInternet ExplorerOperaSafari
Basic support25.0[2]5.0[1]{{ CompatNo() }}{{ CompatNo() }}4.0[1]
-
- -
- - - - - - - - - - - - - - - - - -
FeatureiOS SafariOpera MiniOpera MobileAndroid Browser
Basic support?[1]{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}
-
- -

[1] Webkit 实现了名为-webkit-font-smoothing的相似属性。这个属性仅在 Mac OS X/macOS 下生效。

- -

[2] Firefox 实现了名为 -moz-osx-font-smoothing 的相似属性。这个属性仅在 Mac OS X / macOS 下生效。

+{{Compat("css.properties.font-smooth")}}

参见

diff --git a/files/zh-cn/web/css/font-stretch/index.html b/files/zh-cn/web/css/font-stretch/index.html index 8081d872e2..fde44cd6aa 100644 --- a/files/zh-cn/web/css/font-stretch/index.html +++ b/files/zh-cn/web/css/font-stretch/index.html @@ -103,54 +103,4 @@ font-stretch: unset;

Browser compatibility

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support48.0{{CompatVersionUnknown}}{{ CompatGeckoDesktop("9.0") }}9.035.0{{ CompatNo() }}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatNo() }}{{CompatVersionUnknown}}{{ CompatGeckoMobile("9.0") }}{{ CompatUnknown() }}{{ CompatNo() }}{{ CompatNo() }}
-
+{{Compat("css.properties.font-stretch")}} diff --git a/files/zh-cn/web/css/gradient/linear-gradient()/index.html b/files/zh-cn/web/css/gradient/linear-gradient()/index.html index 4e1083f3cd..670d14976a 100644 --- a/files/zh-cn/web/css/gradient/linear-gradient()/index.html +++ b/files/zh-cn/web/css/gradient/linear-gradient()/index.html @@ -269,172 +269,7 @@ where <side-or-corner> = [ left | right ] || [ top | bottom ]

浏览器兼容性

-

{{CompatibilityTable}}

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureFirefox (Gecko)ChromeInternet ExplorerOpera (Presto)Safari
Basic support (on {{cssxref("background")}} and {{cssxref("background-image")}}){{CompatGeckoDesktop("1.9.2")}}{{property_prefix("-moz")}}[1]
- {{CompatGeckoDesktop("16")}}[2]
10.0 (534.16){{property_prefix("-webkit")}}[6]10.0[4]11.10{{property_prefix("-o")}}[1]5.1{{property_prefix("-webkit")}}[6]
On {{cssxref("border-radius")}}{{CompatGeckoDesktop("29")}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
On any other property that accepts {{cssxref("<image>")}}{{CompatNo}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
Legacy webkit syntax{{non-standard_inline}}{{CompatNo}}3{{property_prefix("-webkit")}}[3]{{CompatNo}}{{CompatNo}}4.0{{property_prefix("-webkit")}}[3]
Legacy 'from' syntax (without to){{non-standard_inline}}{{CompatGeckoDesktop("1.9.2")}}{{property_prefix("-moz")}}[5]10.0 (534.16){{property_prefix("-webkit")}}[3]1011.10{{property_prefix("-o")}}[5]5.1{{property_prefix("-webkit")}}[3]
Standard syntax (using the to keyword){{CompatGeckoDesktop("16")}}26.0 (537.27)1012.106.1
Interpolation hints (a percent without a color){{CompatGeckoDesktop("36")}}40{{CompatUnknown}}27{{CompatUnknown}}
Unitless 0 for <angle>{{CompatGeckoDesktop("46")}}{{property_prefix("-moz")}}[7]{{CompatVersionUnknown}}Edge 12{{CompatVersionUnknown}}{{CompatVersionUnknown}}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureFirefox (Gecko)ChromeInternet ExplorerOpera (Presto)Safari
Basic support (on {{cssxref("background")}} and {{cssxref("background-image")}}){{CompatGeckoMobile("1.9.2")}}{{property_prefix("-moz")}}[1]
- {{CompatGeckoMobile("16")}}[2]
16{{property_prefix("-webkit")}}
- 26
10{{CompatVersionUnknown}}{{CompatVersionUnknown}}
On {{cssxref("border-radius")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
On any other property that accepts {{cssxref("<image>")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Legacy webkit syntax{{non-standard_inline}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Legacy 'from' syntax (without to){{non-standard_inline}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Standard syntax (using the to keyword){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Interpolation hints (a percent without a color){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
- -

[1] Gecko, Opera & Webkit consider {{cssxref("<angle>")}} to start to the right, instead of the top. I.e. it considered an angle of 0deg as a direction indicator pointing to the right. This is different from the latest specification where an angle of 0deg as a direction indicator points to the top. Since Firefox 42, the prefixed version of gradients can be disabled by setting layout.css.prefixes.gradients to false.

- -

[2] Before Gecko 36.0 {{geckoRelease("36.0")}}, Gecko didn't apply gradients on the pre-multiplied color space, leading to shades of grey unexpectedly appearing when used with transparency.

- -

[3] WebKit since 528 supports the legacy -webkit-gradient(linear,…) function. As of WebKit 534.16, it also supports the standard gradient syntax. Unlike in Gecko, in legacy WebKit you cannot specify both a position and an angle in -webkit-linear-gradient(). You can achieve the same effect by offsetting the color stops.

- -

[4] Internet Explorer 5.5 through 9.0 supports proprietary filter: progid:DXImageTransform.Microsoft.Gradient() filter.

- -

[5] Firefox 3.6 and Opera 11.10 implemented, prefixed, an early syntax where the starting corner or side was indicated without the to keyword, and effectively considered as a 'from' position. The to syntax has been added in Firefox 10 and Opera 11.60.

- -

In addition to the unprefixed support using the standard syntax, Gecko 44.0 {{geckoRelease("44.0")}} added support for a -webkit prefixed version of the function using the legacy 'from' syntax for web compatibility reasons behind the preference layout.css.prefixes.webkit, defaulting to false. Since Gecko 49.0 {{geckoRelease("49.0")}} the preference defaults to true.

- -

[6] Opera & Webkit consider {{cssxref("<angle>")}} to start to the right, instead of the top. I.e. it considered an angle of 0deg as a direction indicator pointing to the right. This is different from the latest specification where an angle of 0deg as a direction indicator points to the top. Since Firefox 42, the prefixed version of gradients can be disabled by setting layout.css.prefixes.gradients to false. WebKit since 528 supports the legacy -webkit-gradient(linear,…) function. As of WebKit 534.16, it also supports the standard gradient syntax. Unlike in Gecko, in legacy WebKit you cannot specify both a position and an angle in -webkit-linear-gradient(). You can achieve the same effect by offsetting the color stops.

- -

[7] linear-gradient(0, pink, teal) equivalent to linear-gradient(0deg, pink, teal),See {{bug("1239153")}}.

+{{Compat("css.types.image.gradient.linear-gradient")}}

了解更多

diff --git a/files/zh-cn/web/css/gradient/repeating-linear-gradient()/index.html b/files/zh-cn/web/css/gradient/repeating-linear-gradient()/index.html index c4dd9fc55d..007a1eb361 100644 --- a/files/zh-cn/web/css/gradient/repeating-linear-gradient()/index.html +++ b/files/zh-cn/web/css/gradient/repeating-linear-gradient()/index.html @@ -160,144 +160,7 @@ where <side-or-corner> = [left | right] || [top | bottom]

浏览器兼容性

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureFirefox (Gecko)ChromeInternet ExplorerOperaSafari
Basic support (on {{cssxref("background")}} and {{cssxref("background-image")}}){{CompatGeckoDesktop("1.9.2")}}{{property_prefix("-moz")}}[3]
- {{CompatGeckoDesktop("16")}}[5]
10.0 (534.16){{property_prefix("-webkit")}} [2][3]10.0 [1]11.10{{property_prefix("-o")}} [3]5.1{{property_prefix("-webkit")}}[2][3]
On {{cssxref("border-radius")}}{{CompatGeckoDesktop("29")}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
On any other property that accept {{cssxref("<image>")}}{{CompatNo}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
Legacy webkit syntax{{non-standard_inline}}{{CompatNo}}3{{property_prefix("-webkit")}} [2]{{CompatNo}}{{CompatNo}}4.0{{property_prefix("-webkit")}}[2]
Legacy from syntax (without to){{non-standard_inline}}{{CompatGeckoDesktop("1.9.2")}}{{property_prefix("-moz")}}[4]
- Removed in {{CompatGeckoDesktop("16")}}[7]
10.0 (534.16){{property_prefix("-webkit")}} [2]10.011.10{{property_prefix("-o")}}[4]5.1{{property_prefix("-webkit")}}[2]
to syntax{{CompatGeckoDesktop("10")}}{{property_prefix("-moz")}}[4]
- {{CompatGeckoDesktop("16")}}
26.010.011.60{{property_prefix("-o")}}[4]
- Presto 2.12 will remove the prefix.
{{CompatNo}}
Interpolation hints/gradient midpoints (a percent without a color){{CompatGeckoDesktop("36")}}40{{CompatUnknown}}27{{CompatVersionUnknown}}[6]
Unitless 0 for <angle>{{CompatGeckoDesktop("46")}}{{property_prefix("-webkit")}}[8]
- {{CompatNo}}[9]
{{CompatVersionUnknown}}Edge 12{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureFirefox (Gecko)ChromeInternet ExplorerOpera (Presto)Safari
Basic support{{CompatGeckoMobile("1.9.2")}}{{property_prefix("-moz")}}[3]
- {{CompatGeckoMobile("16")}}[5]
-

16{{property_prefix("-webkit")}}
- 26

-
10{{CompatVersionUnknown}}{{CompatVersionUnknown}}[6]
-
- -

[1] Internet Explorer 5.5 through 9.0 supports proprietary filter: progid:DXImageTransform.Microsoft.Gradient() filter.

- -

[2] WebKit since 528 supports the legacy -webkit-gradient(linear,…) function. As of WebKit 534.16, it also supports the standard gradient syntax. Unlike in Gecko, in legacy WebKit you cannot specify both a position and angle in -webkit-linear-gradient(). You can achieve the same effect by offsetting the color stops.

- -

[3] Gecko, Opera & Webkit considers {{cssxref("<angle>")}} to start to the right, instead of the top. I.e. it considered an angle of 0deg as a direction indicator pointing to the right. This is different from the latest specification where an angle of 0deg as a direction indicator points to the top. Since Firefox 42, the prefixed version of gradients can be disabled by setting layout.css.prefixes.gradients to false.

- -

[4] Firefox 3.6 and Opera 11.10 implemented, prefixed, an early syntax where the starting corner or side was indicated without the to keyword, and effectively considered as a from position. The to syntax has been added in Firefox 10 and Opera 11.60 , at first without removing the deprecated syntax and translation between the two is trivial:

- -
-moz-repeating-linear-gradient(to top left, blue, red);
- -

is the same as:

- -
-moz-repeating-linear-gradient(bottom right, blue, red);
- -

The legacy syntax, without to, is planned to go away when the prefix is removed.

- -

[5] Before Firefox 36, Gecko didn't apply gradient on the pre-multiplied color space, leading to shade of grey unexpectedly appearing when used with transparency.

- -

[6] {{webkitbug(1074056)}}.

- -

[7] In addition to the unprefixed support using the standard syntax, Gecko 44.0 {{geckoRelease("44.0")}} added support for a -webkit prefixed version of the function using the legacy 'from' syntax for web compatibility reasons behind the preference layout.css.prefixes.webkit, defaulting to false. Since Gecko 49.0 {{geckoRelease("49.0")}} the preference defaults to true.

- -

[8] In -webkit-linear-gradient function (handled below), Gecko accept unitless 0 for angles, to match webkit/blink,See {{bug("1239153")}}.

- -

[9] See {{bug("1363292")}}.

+{{Compat("css.types.image.gradient.repeating-linear-gradient")}}

了解更多

diff --git a/files/zh-cn/web/css/gradient/repeating-radial-gradient()/index.html b/files/zh-cn/web/css/gradient/repeating-radial-gradient()/index.html index 8ca073bbd8..f3ac84767e 100644 --- a/files/zh-cn/web/css/gradient/repeating-radial-gradient()/index.html +++ b/files/zh-cn/web/css/gradient/repeating-radial-gradient()/index.html @@ -171,99 +171,7 @@ where <extent-keyword> = closest-corner | closest-side | farthest-corner |

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support (on {{cssxref("background")}} and {{cssxref("background-image")}})10 {{property_prefix("-webkit")}}{{CompatGeckoDesktop("1.9.2")}}{{property_prefix("-moz")}}
- {{CompatGeckoDesktop("16")}}[1]
1012 {{property_prefix("-o")}}
- 12.5
5.1 {{property_prefix("-webkit")}}
On {{cssxref("border-image")}}{{CompatVersionUnknown}}{{CompatGeckoDesktop("29")}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
On any other property that accept {{cssxref("<image>")}}{{CompatNo}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
Interpolation hints (a percent without a color)40{{CompatGeckoDesktop("36")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support (on {{cssxref("background")}} and {{cssxref("background-image")}})4.4{{CompatGeckoMobile("46")}}1012.17.1
On {{cssxref("border-image")}}{{CompatGeckoMobile("29")}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
On any other property that accept {{cssxref("<image>")}}{{CompatNo}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -

[1] Before Firefox 36, Gecko didn't apply gradient on the pre-multiplied color space, leading to shade of grey unexpectedly appearing when used with transparency. Since Firefox 42, the prefixed version of gradients can be disabled by setting layout.css.prefixes.gradients to false.

- -

In addition to the unprefixed support, Gecko 44.0 {{geckoRelease("44.0")}} added support for a -webkit prefixed version of the function for web compatibility reasons behind the preference layout.css.prefixes.webkit, defaulting to false. Since Gecko 49.0 {{geckoRelease("49.0")}} the preference defaults to true.

+{{Compat("css.types.image.gradient.repeating-radial-gradient")}}

参阅:

diff --git a/files/zh-cn/web/css/hyphens/index.html b/files/zh-cn/web/css/hyphens/index.html index 953d834e50..7a09198e88 100644 --- a/files/zh-cn/web/css/hyphens/index.html +++ b/files/zh-cn/web/css/hyphens/index.html @@ -118,692 +118,7 @@ p.auto {

Browser compatibility

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatChrome("13")}}{{property_prefix("-webkit")}}[1] -

{{CompatGeckoDesktop("6.0")}}{{property_prefix("-moz")}}[2]
- {{CompatGeckoDesktop("43.0")}}

-
{{CompatIE("10.0")}}{{property_prefix("-ms")}}[3]{{CompatNo}}{{CompatSafari(5.1)}}{{property_prefix("-webkit")}}
Hyphenation dictionary for Afrikaans (af, af-*){{CompatNo}}{{CompatGeckoDesktop("8.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Bulgarian (bg, bg-*){{CompatNo}}{{CompatGeckoDesktop("8.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Catalan (ca, ca-*){{CompatNo}}{{CompatGeckoDesktop("8.0")}}10.0{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Croatian (hr, hr-*){{CompatNo}}{{CompatGeckoDesktop("8.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Czech (cs, cs-*){{CompatNo}}{{CompatNo}}10.0{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Danish (da, da-*){{CompatNo}}{{CompatGeckoDesktop("8.0")}}10.0{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Dutch (nl, nl-*){{CompatNo}}{{CompatGeckoDesktop("8.0")}}10.0{{CompatNo}}5.1
Hyphenation dictionary for English (en, en-*){{CompatNo}}{{CompatGeckoDesktop("6.0")}}[4]10.0{{CompatNo}}5.1[5]
Hyphenation dictionary for Esperanto (eo, eo-*){{CompatNo}}{{CompatGeckoDesktop("8.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Estonian (et, et-*){{CompatNo}}{{CompatGeckoDesktop("8.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Finnish (fi, fi-*){{CompatNo}}{{CompatGeckoDesktop("8.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for French (fr, fr-*){{CompatNo}}{{CompatGeckoDesktop("8.0")}}10.0{{CompatNo}}5.1
Hyphenation dictionary for Galician (gl, gl-*){{CompatNo}}9.0{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for German, Traditional Orthography of 1901 (de-1901, de-AT-1901, de-DE-1901){{CompatNo}}8.0{{CompatUnknown}}{{CompatNo}}{{CompatUnknown}}
Hyphenation dictionary for German, Reformed Orthography of 1996 (de, de-1996, de-DE, de-AT, de-*){{CompatNo}}8.010.0{{CompatNo}}5.1
Hyphenation dictionary for German, Swiss Orthography (de-CH, de-CH-*){{CompatNo}}8.0{{CompatUnknown}}{{CompatNo}}{{CompatUnknown}}
Hyphenation dictionary for Hungarian (hu, hu-*){{CompatNo}}9.0{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Icelandic (is, is-*){{CompatNo}}8.0{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Interlingua (ia, ia-*){{CompatNo}}8.0{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Italian (it, it-*){{CompatNo}}9.010.0{{CompatNo}}5.1
Hyphenation dictionary for Kurmanji (kmr, kmr-*){{CompatNo}}8.0{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Latin (la, la-*){{CompatNo}}8.0{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Lithuanian (lt, lt-*){{CompatNo}}8.0{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Mongolian (mn, mn-*){{CompatNo}}8.0{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Norwegian (Bokmål) (no, no-*, nb, nb-*){{CompatNo}}8.010.0{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Norwegian (Nynorsk) (nn, nn-*){{CompatNo}}8.010.0{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Polish (pl, pl-*){{CompatNo}}31.010.0{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Portuguese (pt, pt-*){{CompatNo}}8.0[6]10.0{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Brazilian Portuguese (pt-BR){{CompatNo}}8.0[6]10.0{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Russian (ru, ru-*){{CompatNo}}8.010.0{{CompatNo}}5.1
Hyphenation dictionary for Serbian, Bosnian, Serbo-Croatian (sh, sh-*, sr, sr-*, bs, bs-*){{CompatNo}}8.0{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Slovenian (sl, sl-*){{CompatNo}}8.0{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Spanish (es, es-*){{CompatNo}}8.010.0{{CompatNo}}5.1
Hyphenation dictionary for Swedish (sv, sv-*){{CompatNo}}8.010.0{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Turkish (tr, tr-*){{CompatNo}}9.010.0{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Ukrainian (uk, uk-*){{CompatNo}}9.0{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Upper Sorbian (hsb, hsb-*){{CompatNo}}8.0{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for Welsh (cy, cy-*){{CompatNo}}8.0{{CompatNo}}{{CompatNo}}{{CompatNo}}
Hyphenation dictionary for other languages{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatAndroid("4.0")}}{{property_prefix("-webkit")}}[1]{{CompatGeckoMobile("6.0")}}{{property_prefix("-moz")}}[2]
- {{CompatGeckoDesktop("43.0")}}
{{CompatNo}}{{CompatNo}}{{CompatSafari(4.2)}}{{property_prefix("-webkit")}}
Hyphenation dictionary for Afrikaans (af, af-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Bulgarian (bg, bg-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Catalan (ca, ca-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Croatian (hr, hr-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Czech (cs, cs-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Danish (da, da-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Dutch (nl, nl-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for English (en, en-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Esperanto (eo, eo-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Estonian (et, et-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Finnish (fi, fi-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for French (fr, fr-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Galician (gl, gl-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for German, Traditional Orthography of 1901 (de-1901, de-AT-1901, de-DE-1901){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for German, Reformed Orthography of 1996 (de, de-1996, de-DE, de-AT, de-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for German, Swiss Orthography (de-CH, de-CH-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Hungarian (hu, hu-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Icelandic (is, is-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Interlingua (ia, ia-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Italian (it, it-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Kurmanji (kmr, kmr-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Latin (la, la-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Lithuanian (lt, lt-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Mongolian (mn, mn-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Norwegian (Bokmål) (no, no-*, nb, nb-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Norwegian (Nynorsk) (nn, nn-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Polish (pl, pl-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Portuguese (pt, pt-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Brazilian Portuguese (pt-BR){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Russian (ru, ru-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Serbian, Bosnian, Serbo-Croatian (sh, sh-*, sr, sr-*, bs, bs-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Slovenian (sl, sl-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Spanish (es, es-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Swedish (sv, sv-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Turkish (tr, tr-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Ukrainian (uk, uk-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Upper Sorbian (hsb, hsb-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for Welsh (cy, cy-*){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Hyphenation dictionary for other languages{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -

[1] No automatic hyphenation, only -webkit-hyphens: none is supported.

- -

[2] Automatic hyphenation only works for languages whose hyphenation dictionaries are integrated in Gecko. See the note below for a complete list of such languages.

- -

[3] Automatic hyphenation only works for languages whose hyphenation dictionaries are integrated in Internet Explorer. See the note below for a complete list of such languages.

- -

[4] Uses an en-US dictionary.

- -

[5] en-GB and en-US used different dictionaries.

- -

[6] Uses a Portuguese dictionary.

+{{Compat("css.properties.hyphens")}}

See also

diff --git a/files/zh-cn/web/css/integer/index.html b/files/zh-cn/web/css/integer/index.html index b0b71a76a5..183086063a 100644 --- a/files/zh-cn/web/css/integer/index.html +++ b/files/zh-cn/web/css/integer/index.html @@ -81,53 +81,7 @@ _5 Special characters are not allowed.

浏览器兼容性

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
basic1.0{{CompatGeckoDesktop("1.0")}}3.0{{CompatVersionUnknown}}1.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("css.types.integer")}}

参考

diff --git a/files/zh-cn/web/css/isolation/index.html b/files/zh-cn/web/css/isolation/index.html index ad3c297a5f..1f5ecf3f29 100644 --- a/files/zh-cn/web/css/isolation/index.html +++ b/files/zh-cn/web/css/isolation/index.html @@ -96,57 +96,7 @@ isolation: unset;

浏览器兼容性

-

{{CompatibilityTable()}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support -

{{CompatChrome(41.0)}}

-
{{CompatGeckoDesktop('36')}}{{CompatNo()}}{{CompatUnknown()}}{{CompatUnknown()}}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support -

{{CompatChrome(41.0)}}

-
{{CompatGeckoMobile('36')}}[1]{{CompatNo()}}{{CompatUnknown()}}{{CompatUnknown()}}
-
+{{Compat("css.properties.isolation")}}

参见

diff --git a/files/zh-cn/web/css/justify-content/index.html b/files/zh-cn/web/css/justify-content/index.html index 125f5b410f..eddbc5bf32 100644 --- a/files/zh-cn/web/css/justify-content/index.html +++ b/files/zh-cn/web/css/justify-content/index.html @@ -177,179 +177,7 @@ justifyContent.addEventListener("change", function (evt) {

Browser compatibility

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatChrome(21.0)}} {{property_prefix("-webkit")}}
- {{CompatChrome(29.0)}}[3]
{{CompatVersionUnknown}}{{property_prefix("-webkit")}}
- {{CompatVersionUnknown}}
{{CompatGeckoDesktop("18.0")}}[1]
- {{CompatGeckoDesktop("20.0")}}[2]
1112.109
space-evenly{{CompatNo}}{{CompatNo}}{{CompatGeckoDesktop("52.0")}}{{CompatNo}}{{CompatUnknown}}{{CompatUnknown}}
start, end{{CompatNo}}[4]{{CompatNo}}{{CompatVersionUnknown}}{{CompatNo}}{{CompatNo}}[4]{{CompatUnknown}}
left, right{{CompatNo}}[4]{{CompatNo}}{{CompatGeckoDesktop("52.0")}}[5]{{CompatNo}}{{CompatNo}}[4]{{CompatUnknown}}
baseline{{CompatChrome("57.0")}}{{CompatNo}}{{CompatVersionUnknown}}{{CompatNo}}{{CompatOpera("44.0")}}{{CompatUnknown}}
first baseline, last baseline{{CompatNo}}{{CompatNo}}{{CompatGeckoDesktop("52.0")}}{{CompatNo}}{{CompatNo}}{{CompatUnknown}}
stretch{{CompatChrome("57.0")}}{{CompatNo}}{{CompatGeckoDesktop("52.0")}}{{CompatNo}}{{CompatOpera("44.0")}}{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureFirefox Mobile (Gecko)AndroidAndroid WebviewEdgeIE PhoneOpera MobileSafari MobileChrome for Android
Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}}[3]{{CompatVersionUnknown}}{{property_prefix("-webkit")}}
- {{CompatVersionUnknown}}
{{CompatNo}}12.10{{CompatUnknown}}{{CompatVersionUnknown}}[3]
space-evenly{{CompatGeckoMobile("52.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
start, end{{CompatNo}}[4]{{CompatNo}}{{CompatVersionUnknown}}{{CompatNo}}{{CompatNo}}[4]{{CompatUnknown}}
left, right{{CompatNo}}[4]{{CompatNo}}{{CompatGeckoMobile("52.0")}}[5]{{CompatNo}}{{CompatUnknown}}[4]{{CompatUnknown}}
baseline{{CompatChrome("57.0")}}{{CompatNo}}{{CompatVersionUnknown}}{{CompatNo}}{{CompatOpera("44.0")}}{{CompatUnknown}}
first baseline, last baseline{{CompatNo}}{{CompatNo}}{{CompatGeckoMobile("52.0")}}{{CompatNo}}{{CompatNo}}{{CompatUnknown}}
stretch{{CompatChrome("57.0")}}{{CompatNo}}{{CompatGeckoMobile("52.0")}}{{CompatNo}}{{CompatOpera("44.0")}}{{CompatUnknown}}
-
- -

[1] 直到Firefox 28,Firefox都只支持单行弹性框。用户需要修改about:config,将“layout.css.flexbox.enabled”设置为“true”来在Firefox 18和19应用弹性框。

- -

[2] 比较旧的版本规范将绝对定位子项认为0 x 0 flex项。 后面的规范版本将它们从流程中取出并根据对齐和对齐属性设置它们的位置。 Chrome从Chrome 52开始的实施新行为。

+{{Compat("css.properties.justify-content")}}

参考

diff --git a/files/zh-cn/web/css/list-style-image/index.html b/files/zh-cn/web/css/list-style-image/index.html index 6185aca835..3cd961dae9 100644 --- a/files/zh-cn/web/css/list-style-image/index.html +++ b/files/zh-cn/web/css/list-style-image/index.html @@ -90,53 +90,7 @@ list-style-image: unset;

浏览器支持

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
特征ChromeFirefox (Gecko)Internet ExplorerOperaSafari
基本支持1.0{{ CompatGeckoDesktop("1") }}4.07.01.0
-
- -
- - - - - - - - - - - - - - - - - - - -
特征AndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
基本支持1.0{{ CompatGeckoMobile("1") }}6.06.01.0
-
+{{Compat("css.properties.list-style-image")}}

其他链接

diff --git a/files/zh-cn/web/css/list-style-position/index.html b/files/zh-cn/web/css/list-style-position/index.html index 1b63e9c8b6..91d8204131 100644 --- a/files/zh-cn/web/css/list-style-position/index.html +++ b/files/zh-cn/web/css/list-style-position/index.html @@ -105,55 +105,7 @@ list-style-position: unset;

Browser compatibility

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.01.0 (1.0)4.03.51.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -

N.B. There is variance among browsers regarding behaviour when a block element is placed first within a list element declared as list-style-position:inside. Chrome and Safari both place this element on the same line as the marker box, whereas Firefox, Internet Explorer and Opera place it on the next line. For more information on this, see this Mozilla Bug report and an example.

+{{Compat("css.properties.list-style-position")}}

See also

diff --git a/files/zh-cn/web/css/list-style/index.html b/files/zh-cn/web/css/list-style/index.html index a65ff6621b..20de87e51b 100644 --- a/files/zh-cn/web/css/list-style/index.html +++ b/files/zh-cn/web/css/list-style/index.html @@ -88,53 +88,7 @@ List 2

浏览器兼容性

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1.0{{CompatGeckoDesktop("1")}}4.07.01.0
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support1.0{{CompatGeckoMobile("1")}}6.06.01.0
-
+{{Compat("css.properties.list-style")}}

另参见

diff --git a/files/zh-cn/web/css/margin-bottom/index.html b/files/zh-cn/web/css/margin-bottom/index.html index 4a5b7f23b7..40fc567130 100644 --- a/files/zh-cn/web/css/margin-bottom/index.html +++ b/files/zh-cn/web/css/margin-bottom/index.html @@ -130,58 +130,4 @@ div {

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0{{CompatGeckoDesktop("1")}}3.03.51.0 (85)
auto value1.0{{CompatGeckoDesktop("1")}}6.0 (strict mode)3.51.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support1.0{{CompatGeckoMobile("1")}}6.06.01.0
-
+{{Compat("css.properties.margin-bottom")}} diff --git a/files/zh-cn/web/css/margin-left/index.html b/files/zh-cn/web/css/margin-left/index.html index c7f3b25b19..86f047379b 100644 --- a/files/zh-cn/web/css/margin-left/index.html +++ b/files/zh-cn/web/css/margin-left/index.html @@ -152,58 +152,4 @@ margin-left: unset;

Browser compatibility

-

{{CompatibilityTable()}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0{{CompatGeckoDesktop("1")}}3.03.51.0 (85)
auto value1.0{{CompatGeckoDesktop("1")}}6.0 (strict mode)3.51.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support1.0{{CompatGeckoMobile("1")}}6.06.01.0
-
+{{Compat("css.properties.margin-left")}} diff --git a/files/zh-cn/web/css/margin-right/index.html b/files/zh-cn/web/css/margin-right/index.html index a0a25c9993..30c9cc0376 100644 --- a/files/zh-cn/web/css/margin-right/index.html +++ b/files/zh-cn/web/css/margin-right/index.html @@ -151,58 +151,4 @@ margin-right: unset;

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0{{ CompatGeckoDesktop("1") }}3.03.51.0 (85)
auto value1.0{{ CompatGeckoDesktop("1") }}6.0 (strict mode)3.51.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support1.0{{ CompatGeckoMobile("1") }}6.06.01.0
-
+{{Compat("css.properties.margin-right")}} diff --git a/files/zh-cn/web/css/margin-top/index.html b/files/zh-cn/web/css/margin-top/index.html index 3e12c45805..1ed70069c2 100644 --- a/files/zh-cn/web/css/margin-top/index.html +++ b/files/zh-cn/web/css/margin-top/index.html @@ -88,58 +88,4 @@ margin-top: unset;

浏览器兼容性

-

{{CompatibilityTable()}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0{{CompatGeckoDesktop("1")}}3.03.51.0 (85)
auto value1.0{{CompatGeckoDesktop("1")}}6.0 (strict mode)3.51.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support1.0{{CompatGeckoMobile("1")}}6.06.01.0
-
+{{Compat("css.properties.margin-top")}} diff --git a/files/zh-cn/web/css/mask-image/index.html b/files/zh-cn/web/css/mask-image/index.html index ef59ab1649..94cb2529a5 100644 --- a/files/zh-cn/web/css/mask-image/index.html +++ b/files/zh-cn/web/css/mask-image/index.html @@ -88,96 +88,4 @@ mask-image: unset;

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerEdgeOperaSafari (WebKit)
Basic support1.0{{property_prefix("-webkit")}}[1]{{CompatNo}}[2]{{CompatNo}}{{CompatUnknown}}{{CompatVersionUnknown}}{{property_prefix("-webkit")}}4.0{{property_prefix("-webkit")}}[3]
Multiple mask images1.0{{property_prefix("-webkit")}}{{CompatNo}}[2]{{CompatNo}}{{CompatUnknown}}{{CompatVersionUnknown}}{{property_prefix("-webkit")}}4.0{{property_prefix("-webkit")}}
SVG masks8.0{{CompatNo}}[2]{{CompatNo}}{{CompatUnknown}}{{CompatVersionUnknown}}{{property_prefix("-webkit")}}4.0{{property_prefix("-webkit")}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support2.1{{property_prefix("-webkit")}}[4]{{CompatNo}}[2]{{CompatUnknown}}{{CompatNo}}3.2{{property_prefix("-webkit")}}[5]
Multiple mask images{{CompatVersionUnknown}}{{property_prefix("-webkit")}}{{CompatNo}}[2]{{CompatUnknown}}{{CompatNo}}{{CompatVersionUnknown}}{{property_prefix("-webkit")}}
SVG masks{{CompatVersionUnknown}}{{property_prefix("-webkit")}}{{CompatNo}}[2]{{CompatUnknown}}{{CompatNo}}{{CompatVersionUnknown}}{{property_prefix("-webkit")}}
-
- -

[1] Implemented in version 8.0, Chrome initially only supported the -webkit prefixed versions of gradients as values. Later, support for the unprefixed versions was added.

- -

[2] This feature is not implemented yet. It is only available in Nightly and Dev Edition. See {{bug("1251161")}}.

- -

[3] Implemented in version 4.0, Safari initially only supported the -webkit prefixed versions of gradients as values.

- -

[4] Android initially only supported the -webkit prefixed versions of gradients as values.

- -

[5] iOS Safari initially only supported the -webkit prefixed versions of gradients as values.

+{{Compat("css.properties.mask-image")}} diff --git a/files/zh-cn/web/css/max-width/index.html b/files/zh-cn/web/css/max-width/index.html index c059156cad..ee807e175d 100644 --- a/files/zh-cn/web/css/max-width/index.html +++ b/files/zh-cn/web/css/max-width/index.html @@ -135,76 +135,7 @@ max-width: unset;

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0{{CompatGeckoDesktop("1.0")}}7.04.02.0.2 (416),
- buggy before
applies to <table> [1]{{ CompatNo() }}{{CompatVersionUnknown()}}{{ CompatNo() }}{{CompatVersionUnknown()}}{{ CompatNo() }}
max-content, min-content, fit-content, and fill-available {{ experimental_inline() }}{{ CompatNo() }} [3]{{CompatGeckoDesktop("1.9")}}{{property_prefix("-moz")}} [2]{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }} [3]
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
- -

[1] CSS 2.1 explicitly leaves the behavior of max-width with {{ HTMLElement("table") }} undefined. Therefore any behavior is CSS2.1-compliant; newer CSS specifications may define this behavior, so Web developers shouldn't rely on a specific one now.

- -

[2] Gecko experimentally implements the definitions given in CSS3 Basic Box. This one defines available and not fill-available. Also the definition of fit-content is simpler than in CSS3 Sizing.

- -

[3] WebKit implements an earlier proposal for setting the height to an intrinsic height: the keywords intrinsic, instead of max-content, and min-intrinsic, instead of min-content There is no equivalent for fill-available or fit-content.

+{{Compat("css.properties.max-width")}}

参考链接

diff --git a/files/zh-cn/web/css/number/index.html b/files/zh-cn/web/css/number/index.html index ab51b9d680..4e6917e407 100644 --- a/files/zh-cn/web/css/number/index.html +++ b/files/zh-cn/web/css/number/index.html @@ -69,61 +69,7 @@ translation_of: Web/CSS/number

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
basic1.01.0 (1.0)<=5.0yes1.0 (85)
Scientific notation?2911??
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic supportyesyesyesyesyes
-
+{{Compat("css.types.number")}}

参见

diff --git a/files/zh-cn/web/css/order/index.html b/files/zh-cn/web/css/order/index.html index 37f8da8ae8..c015258757 100644 --- a/files/zh-cn/web/css/order/index.html +++ b/files/zh-cn/web/css/order/index.html @@ -81,80 +81,7 @@ order: unset;

浏览器兼容性

-

{{ CompatibilityTable }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{ CompatChrome(21.0) }}{{ property_prefix("-webkit") }}
- 29
-

{{ CompatGeckoDesktop("18.0") }} (behind a pref) [1][3]
- {{CompatGeckoDesktop("20.0")}}
- 28

-
-

10.0, but under the non-standard -ms-flex-order name {{ property_prefix("-ms") }}  [2]
- 11

-
12.10 -

7 {{ property_prefix("-webkit") }}
- 9

-
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatUnknown }}{{ CompatUnknown }}{{ CompatGeckoMobile("18.0") }} (behind a pref) [1]
- {{CompatGeckoMobile("20.0")}}
{{ CompatUnknown }}12.10 -

7 {{ property_prefix("-webkit") }}
- 9

- -

 

-
-
- -

[1] 在 Firefox 18 和 19 中使用弹性布局,需要将 about:config 中 layout.css.flexbox.enabled 设置为 true。从 Firefox 28 起开始完整支持。

- -

Firefox 中不正确地更改元素的 Tab 顺序. 查看 {{bug("812687")}}。

- -

[2] In addition to the unprefixed support, Gecko 48.0 {{geckoRelease("48.0")}} added support for a -webkit prefixed version of the property for web compatibility reasons behind the preference layout.css.prefixes.webkit, defaulting to false. Since Gecko 49.0 {{geckoRelease("49.0")}} the preference defaults to true.

- -

[3] 在 Internet Explorer 10 中,使用 display: -ms-flexbox 来声明弹性盒子。-ms-flex-order 属性是非标准实现。

+{{Compat("css.properties.order")}}

参考

diff --git a/files/zh-cn/web/css/outline-offset/index.html b/files/zh-cn/web/css/outline-offset/index.html index 3d928679a5..e6460afd74 100644 --- a/files/zh-cn/web/css/outline-offset/index.html +++ b/files/zh-cn/web/css/outline-offset/index.html @@ -88,50 +88,4 @@ outline-offset: unset;

Browser compatibility

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0{{CompatGeckoDesktop("1.8")}}{{ CompatNo() }}9.51.2
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.properties.outline-offset")}} diff --git a/files/zh-cn/web/css/outline-style/index.html b/files/zh-cn/web/css/outline-style/index.html index d38b4ed59e..2a0ed4ad9a 100644 --- a/files/zh-cn/web/css/outline-style/index.html +++ b/files/zh-cn/web/css/outline-style/index.html @@ -199,74 +199,4 @@ outline-style: unset;

{{Compat("css.properties.outline-style")}}

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0{{CompatVersionUnknown}}1.5 (1.8)[1]8.07.01.2 (125)
auto{{CompatUnknown}}{{CompatNo}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support2.1{{CompatVersionUnknown}}{{CompatGeckoMobile("46")}}10123.2
auto{{CompatUnknown}}{{CompatNo}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -

[1] Gecko 1.8及以前 (Firefox 1.5) 该效果可用Mozilla CSS Extension 实现{{Cssxref("-moz-outline-style")}}.

+{{Compat("css.properties.outline-style")}} diff --git a/files/zh-cn/web/css/overflow-y/index.html b/files/zh-cn/web/css/overflow-y/index.html index 08941c82e5..e3dbe4df2b 100644 --- a/files/zh-cn/web/css/overflow-y/index.html +++ b/files/zh-cn/web/css/overflow-y/index.html @@ -142,57 +142,7 @@ overflow-y: unset; /*未设置*/

浏览器支持

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
特性ChromeFirefox (Gecko)Internet ExplorerOperaSafari
基本支持1.0{{CompatGeckoDesktop("1.5")}}5.0 [*]9.53.0
-
- -
- - - - - - - - - - - - - - - - - - - - - -
特性AndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
基本支持1.0{{CompatVersionUnknown}}{{CompatGeckoMobile("1.5")}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -

[*] IE8 引入了属性-ms-overflow-y,作用与overflow-y相同。不要使用前缀-ms-

+{{Compat("css.properties.overflow-y")}}

参见

diff --git a/files/zh-cn/web/css/overflow/index.html b/files/zh-cn/web/css/overflow/index.html index fc78daee71..42daa56262 100644 --- a/files/zh-cn/web/css/overflow/index.html +++ b/files/zh-cn/web/css/overflow/index.html @@ -177,57 +177,7 @@ overflow: scroll hidden;

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1.0{{ CompatGeckoDesktop("1") }}[1]4.0[2]7.01.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatGeckoMobile("1") }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
- -

 [1] Firefox 3.6 (Gecko 1.9.2)中,  overflow 属性被错误地应用到表组元素(<thead>,<tbody>,<tfoot>)中。这个错误在之后的版本中被修复。 

- -

[2]Internet Explorer 4 - 6 会扩大一个带有overflow:visible 的元素以适应它的内容。此处 height/width 的作用相当于 min-height/min-width

+{{Compat("css.properties.overflow")}}

See also

diff --git a/files/zh-cn/web/css/padding-bottom/index.html b/files/zh-cn/web/css/padding-bottom/index.html index d9d588167a..6d86467bc1 100644 --- a/files/zh-cn/web/css/padding-bottom/index.html +++ b/files/zh-cn/web/css/padding-bottom/index.html @@ -87,57 +87,7 @@ padding-bottom: unset;

Browser compatibility

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0{{CompatVersionUnknown}}1.0 (1.0)4.03.51.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{CompatVersionUnknown}}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.properties.padding-bottom")}}

See also

diff --git a/files/zh-cn/web/css/padding-inline-start/index.html b/files/zh-cn/web/css/padding-inline-start/index.html index dca56682c7..acc113a16a 100644 --- a/files/zh-cn/web/css/padding-inline-start/index.html +++ b/files/zh-cn/web/css/padding-inline-start/index.html @@ -82,57 +82,7 @@ padding-inline-start: unset;

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatNo}}[2]{{CompatGeckoDesktop("41.0")}}[1]{{CompatNo}}{{CompatNo}}{{CompatNo}}[2]
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatNo}}{{CompatGeckoMobile("41.0") }}[1]{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -

[1] Available since Gecko 38, but behind the preference layout.css.vertical-text.enabled, then disabled by default. The preference has been removed in Gecko 51 and this property cannot be disabled since this version. From Firefox 3, Gecko supports the prefixed -moz-padding-start.

- -

[2] From Chrome 2 and Safari 3, the similar prefixed -webkit-padding-start are supported.

+{{Compat("css.properties.padding-inline-start")}}

也可以看看

diff --git a/files/zh-cn/web/css/padding-right/index.html b/files/zh-cn/web/css/padding-right/index.html index b9d591adff..6ec61008a7 100644 --- a/files/zh-cn/web/css/padding-right/index.html +++ b/files/zh-cn/web/css/padding-right/index.html @@ -84,57 +84,7 @@ padding-right: unset;

Browser compatibility

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0{{CompatVersionUnknown}}1.0 (1.0)4.03.51.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{CompatVersionUnknown}}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.properties.padding-right")}}

See also

diff --git a/files/zh-cn/web/css/padding-top/index.html b/files/zh-cn/web/css/padding-top/index.html index 473a0194e5..6d0ad5e996 100644 --- a/files/zh-cn/web/css/padding-top/index.html +++ b/files/zh-cn/web/css/padding-top/index.html @@ -86,57 +86,7 @@ padding-top: unset;

浏览器的兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0{{CompatVersionUnknown}}1.0 (1.0)4.03.51.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{CompatVersionUnknown}}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.properties.padding-top")}}

 更多浏览

diff --git a/files/zh-cn/web/css/page-break-after/index.html b/files/zh-cn/web/css/page-break-after/index.html index 5d83330342..596b72971f 100644 --- a/files/zh-cn/web/css/page-break-after/index.html +++ b/files/zh-cn/web/css/page-break-after/index.html @@ -121,75 +121,7 @@ div.footnotes {

Browser compatibility

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support (auto, always)1.0{{CompatVersionUnknown}}{{ CompatGeckoDesktop("1.0") }}4.07.01.2 (125)
avoid, left, right1.0{{CompatUnknown}}{{ CompatNo() }} ({{ bug("132035") }})4.07.01.2 (125)
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{CompatVersionUnknown}}{{ CompatGeckoMobile("1.0") }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
avoid, left, right{{ CompatUnknown() }}{{CompatUnknown}}{{ CompatNo() }} ({{ bug("132035") }}){{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.properties.page-break-after")}}

See also

diff --git a/files/zh-cn/web/css/position_value/index.html b/files/zh-cn/web/css/position_value/index.html index d96912be34..341106f928 100644 --- a/files/zh-cn/web/css/position_value/index.html +++ b/files/zh-cn/web/css/position_value/index.html @@ -81,84 +81,6 @@ translation_of: Web/CSS/position_value

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
特性ChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1.0{{ CompatGeckoDesktop("1") }}4.03.51.0 (85)
Combination of a keyword and a {{cssxref("<length>")}}, or {{cssxref("<percentage>")}}1.0{{ CompatGeckoDesktop("1") }}4.03.51.0 (85)
Four-value syntax (support for offset from any edge) {{ experimental_inline() }}{{ CompatNo() }} {{ webkitbug("37514") }}{{ CompatGeckoDesktop("13.0") }}{{ CompatNo() }}10.5{{ CompatNo() }} {{ webkitbug("37514") }}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
特性AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatVersionUnknown() }}{{ CompatGeckoMobile("1") }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
Combination of a keyword and a {{cssxref("<length>")}}, or {{cssxref("<percentage>")}}{{ CompatVersionUnknown() }}{{ CompatGeckoMobile("1") }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
Four-value syntax (support for offset from any edge) {{ experimental_inline() }}{{ CompatNo() }}{{ CompatGeckoMobile("13.0") }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatNo() }}
-
+{{Compat("css.types.position")}}

 

diff --git a/files/zh-cn/web/css/resize/index.html b/files/zh-cn/web/css/resize/index.html index 95f00e5ec9..79f318087f 100644 --- a/files/zh-cn/web/css/resize/index.html +++ b/files/zh-cn/web/css/resize/index.html @@ -137,71 +137,7 @@ p {

Browser compatibility

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support (on {{HTMLElement("textarea")}})1.0{{CompatGeckoDesktop("2.0")}}{{property_prefix("-moz")}}{{CompatNo}}12.13.0 (522)
On any block-level and replaced element, table cell, and inline block element (unless {{cssxref("overflow")}} is visible)4.0{{CompatGeckoDesktop("5.0")}}[1]{{CompatNo}}154.0
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support (on {{HTMLElement("textarea")}}){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
On any block-level and replaced element, table cell, and inline block element (unless {{cssxref("overflow")}} is visible){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -

[1] resize doesn't have any effect on {{HTMLElement("iframe")}} (cf. {{bug(680823)}})

+{{Compat("css.properties.resize")}}

See also

diff --git a/files/zh-cn/web/css/scroll-snap-coordinate/index.html b/files/zh-cn/web/css/scroll-snap-coordinate/index.html index 653df49790..373dbd66d3 100644 --- a/files/zh-cn/web/css/scroll-snap-coordinate/index.html +++ b/files/zh-cn/web/css/scroll-snap-coordinate/index.html @@ -148,54 +148,4 @@ scroll-snap-coordinate: unset;

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
特性ChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
支持度{{CompatUnknown}}{{CompatGeckoDesktop("39.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
特性AndroidFirefox Mobile (Gecko)Firefox OSIE PhoneOpera MobileSafari Mobile
支持度{{CompatNo}}{{CompatGeckoMobile("39.0") }}[1]{{CompatGeckoMobile("39.0") }}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -

[1] 在Firefox移动版上,从内核Gecko 39开始可用,但是低于 layout.css.vertical-text.enabled优先级,默认不可用。

+{{Compat("css.properties.scroll-snap-coordinate")}} diff --git a/files/zh-cn/web/css/scroll-snap-destination/index.html b/files/zh-cn/web/css/scroll-snap-destination/index.html index c2042ca391..86c27e9f69 100644 --- a/files/zh-cn/web/css/scroll-snap-destination/index.html +++ b/files/zh-cn/web/css/scroll-snap-destination/index.html @@ -139,54 +139,4 @@ scroll-snap-destination: unset;

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
特性ChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
支持度{{CompatUnknown}}{{CompatGeckoDesktop("39.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
特性AndroidFirefox Mobile (Gecko)Firefox OSIE PhoneOpera MobileSafari Mobile
支持度{{CompatNo}}{{CompatGeckoMobile("39.0") }}[1]{{CompatGeckoMobile("39.0") }}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -

[1] 在Firefox移动版上,从内核Gecko 39开始可用,但是低于 layout.css.vertical-text.enabled优先级,默认不可用。

+{{Compat("css.properties.scroll-snap-destination")}} diff --git a/files/zh-cn/web/css/scroll-snap-points-x/index.html b/files/zh-cn/web/css/scroll-snap-points-x/index.html index c2b0b3c2fc..878e03b57f 100644 --- a/files/zh-cn/web/css/scroll-snap-points-x/index.html +++ b/files/zh-cn/web/css/scroll-snap-points-x/index.html @@ -87,54 +87,4 @@ scroll-snap-points-x: unset;

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
特性ChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
支持度{{CompatUnknown}}{{CompatGeckoDesktop("39.0")}}{{CompatNo}}{{CompatNo}}9{{property_prefix("-webkit")}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
特性AndroidFirefox Mobile (Gecko)Firefox OSIE PhoneOpera MobileSafari Mobile
支持度{{CompatNo}}{{CompatGeckoMobile("39.0")}}[1]{{CompatGeckoMobile("39.0")}}{{CompatNo}}{{CompatNo}}9{{property_prefix("-webkit")}}
-
- -

[1] 在Firefox移动版上,从内核Gecko 39开始可用,但是低于 layout.css.vertical-text.enabled优先级,默认不可用。

+{{Compat("css.properties.scroll-snap-points-x")}} diff --git a/files/zh-cn/web/css/scroll-snap-points-y/index.html b/files/zh-cn/web/css/scroll-snap-points-y/index.html index ad78875020..3401315f5c 100644 --- a/files/zh-cn/web/css/scroll-snap-points-y/index.html +++ b/files/zh-cn/web/css/scroll-snap-points-y/index.html @@ -88,54 +88,4 @@ scroll-snap-points-y: unset;

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
特性ChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
支持度{{CompatNo}}{{CompatGeckoDesktop("39.0")}}{{CompatNo}}{{CompatNo}}9{{property_prefix("-webkit")}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
特性AndroidFirefox Mobile (Gecko)Firefox OSIE PhoneOpera MobileSafari Mobile
支持度{{CompatNo}}{{CompatGeckoMobile("39.0") }}[1]{{CompatGeckoMobile("39.0") }}{{CompatNo}}{{CompatNo}}9{{property_prefix("-webkit")}}
-
- -

[1] 在Firefox移动版上,从内核Gecko 39开始可用,但是低于 layout.css.vertical-text.enabled优先级,默认不可用。

+{{Compat("css.properties.scroll-snap-points-y")}} diff --git a/files/zh-cn/web/css/string/index.html b/files/zh-cn/web/css/string/index.html index 01a13db60b..dd2a9a0903 100644 --- a/files/zh-cn/web/css/string/index.html +++ b/files/zh-cn/web/css/string/index.html @@ -74,69 +74,4 @@ awesome string"

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1.01.0 (1.0){{CompatVersionUnknown}}{{compatVersionUnknown}}1.0 (85)
\xx1.01.0 (1.0)6.0{{compatVersionUnknown}}1.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{compatVersionUnknown}}{{compatVersionUnknown}}{{compatVersionUnknown}}{{compatVersionUnknown}}{{compatVersionUnknown}}{{compatVersionUnknown}}
\xx{{compatVersionUnknown}}{{compatVersionUnknown}}{{compatVersionUnknown}}{{compatVersionUnknown}}{{compatVersionUnknown}}{{compatVersionUnknown}}
-
+{{Compat("css.types.string")}} diff --git a/files/zh-cn/web/css/text-align/index.html b/files/zh-cn/web/css/text-align/index.html index b18ab96e5b..9c806d8571 100644 --- a/files/zh-cn/web/css/text-align/index.html +++ b/files/zh-cn/web/css/text-align/index.html @@ -348,142 +348,7 @@ some more inline content...

浏览器兼容性

-

{{CompatibilityTable}}

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support (leftrightcenter and justify)1.0{{CompatVersionUnknown}}{{CompatGeckoDesktop("1.0")}}3.03.51.0 (85)
Block alignment values {{non-standard_inline}}1.0{{property_prefix("-webkit")}}{{CompatUnknown}}{{CompatGeckoDesktop("1.0")}}{{property_prefix("-moz")}}[1]{{CompatNo}}{{CompatNo}}1.0 (85){{property_prefix("-khtml")}}
- 1.3 (312){{property_prefix("-webkit")}} [1]
start {{experimental_inline}}1.0{{CompatUnknown}}{{CompatGeckoDesktop("1.0")}}{{CompatNo}}{{CompatVersionUnknown}}3.1 (525)
end {{experimental_inline}}1.0{{CompatUnknown}}{{CompatGeckoDesktop("1.9.2")}}{{CompatNo}}{{CompatVersionUnknown}}3.1 (525)
match-parent{{experimental_inline}}16{{CompatUnknown}}{{CompatGeckoDesktop("40")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
Block alignment values {{non-standard_inline}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
start {{experimental_inline}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
end {{experimental_inline}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
match-parent{{experimental_inline}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatGeckoMobile("40")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
true(non-standard syntax){{non-standard_inline}}{{CompatNo}}{{CompatNo}}{{CompatUnknown}}{{CompatUnknown}}{{CompatNo}}
- -

[1] Both WebKit and Gecko supports a prefixed version of leftcenter, and right, that applies not only to inline content but also to block elements. This is used to implement the legacy {{htmlattrxref("align", "td")}} attributes on some table-related element. Do not use these on production Web sites.

+{{Compat("css.properties.text-align")}}

参见

diff --git a/files/zh-cn/web/css/text-justify/index.html b/files/zh-cn/web/css/text-justify/index.html index 8760107504..d465e9b7e7 100644 --- a/files/zh-cn/web/css/text-justify/index.html +++ b/files/zh-cn/web/css/text-justify/index.html @@ -109,63 +109,7 @@ text-justify: distribute; /* 已被废除,不提倡使用 */

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatNo}}[2]14[1]{{CompatGeckoDesktop("55.0")}}11[1]{{CompatNo}}[2]{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatNo}}[2]{{CompatNo}}[2]14[1]{{CompatGeckoMobile("55.0")}}11[1]{{CompatNo}}[2]{{CompatNo}}
-
- -

[1] 不支持标准属性值 inter-characternone 。但是支持过时的属性值 distribute和废弃属性值 distribute-all-linesdistribute-center-lastinter-clusterinter-ideograph,以及 newspaper

- -

[2] 参照了默认的规范,属性值 inter-worddistribute 在“实验平台特性”的旗帜下被保留了下来,尽管 distribulte 已经不被提倡使用了。

+{{Compat("css.properties.text-justify")}}

参见

diff --git a/files/zh-cn/web/css/text-overflow/index.html b/files/zh-cn/web/css/text-overflow/index.html index 2b648418eb..e2a07ee7e8 100644 --- a/files/zh-cn/web/css/text-overflow/index.html +++ b/files/zh-cn/web/css/text-overflow/index.html @@ -308,132 +308,7 @@ text-overflow: unset;

浏览器兼容性

-

{{CompatibilityTable}}

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support1.0 (312.3){{CompatVersionUnknown}}{{CompatGeckoDesktop("7.0")}}[1]6.0[2]9{{property_prefix("-o")}}[3]
- 11.0
1.3 (312.3)
Two-value syntax {{experimental_inline}}{{CompatNo}}{{CompatNo}}{{CompatGeckoDesktop("9.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
String value {{experimental_inline}}{{CompatNo}}{{CompatNo}}{{CompatGeckoDesktop("9.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
fade{{experimental_inline}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
fade(){{experimental_inline}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatGeckoMobile("7.0")}}{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
Two-value syntax {{experimental_inline}}{{CompatNo}}{{CompatNo}}{{CompatGeckoMobile("9.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
String value {{experimental_inline}}{{CompatNo}}{{CompatNo}}{{CompatGeckoMobile("9.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
fade{{experimental_inline}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
fade(){{experimental_inline}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
- -

[1] 从 Gecko 10.0 {{geckoRelease("10.0")}} 起,修正了text-overflow属性在行内溢出的块级元素两端都溢出的显示效果,早前的版本如果仅仅使用一个属性(比如说text-overflow:ellipsis;),可能会导致块级元素文本两端都会变为省略号,而不是仅仅期望的仅仅在文本末尾显示省略号。

- -

[2] IE 8 提供了带有浏览器前缀的版本, -ms-text-overflow,和text-overflow作用相同。但是并不推荐这样使用。

- -

[3] Opera 9 和 10 要求带有浏览器前缀 -o-text-overflow

+{{Compat("css.properties.text-overflow")}}

另见

diff --git a/files/zh-cn/web/css/text-rendering/index.html b/files/zh-cn/web/css/text-rendering/index.html index 8a3c674df8..32b735b99a 100644 --- a/files/zh-cn/web/css/text-rendering/index.html +++ b/files/zh-cn/web/css/text-rendering/index.html @@ -133,79 +133,4 @@ body { text-rendering: optimizeLegibility; }

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support for Windows and Linux -

4.0 but the implementation known bugs on Windows and Linux which can break font substitition, small-caps, letter-spacing or cause text to overlap

-
3.0 (1.9){{ CompatNo() }}{{ CompatNo() }}5.0 (532.5)
Basic support for other operating systems{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}
autoChrome treats this as optimizeSpeed.
- Work is continuing on{{ Webkitbug("41363") }}
If the font size is 20 px or higher, Gecko browsers use optimizeLegibility; for smaller text, they use optimizeSpeed.{{ CompatNo() }}{{ CompatNo() }}Safari treats this as optimizeSpeed.
- Work is continuing on{{ Webkitbug("41363") }}
geometricPrecision13 supports true geometric precision, without rounding up or down to the nearest supported font size in the operating system.
- Introduced in WebKit 535.1   {{ Webkitbug("60317") }}
Gecko treats the value the same as optimizeLegibility. {{ CompatNo() }} {{ CompatNo() }} 
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.properties.text-rendering")}} diff --git a/files/zh-cn/web/css/text-transform/index.html b/files/zh-cn/web/css/text-transform/index.html index 6939245741..7ac6c0015e 100644 --- a/files/zh-cn/web/css/text-transform/index.html +++ b/files/zh-cn/web/css/text-transform/index.html @@ -253,182 +253,4 @@ strong { width: 100%; float: right; }

浏览器兼容性 

-

{{CompatibilityTable}}

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1.0{{CompatGeckoDesktop("1")}}4.07.01.0
capitalize(CSS3 version){{CompatUnknown}}[1]{{CompatGeckoDesktop("14")}}[1]{{CompatUnknown}}[1]{{CompatUnknown}}[1]{{CompatUnknown}}[1]
full-size-kana{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
full-width{{CompatNo}}{{CompatGeckoDesktop("19")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
ß → SS{{CompatUnknown}}{{CompatGeckoDesktop("1")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
i → İ and ı→ I{{CompatNo}}{{CompatGeckoDesktop("14")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatNo}}
Dutch IJdigraph{{CompatNo}}{{CompatGeckoDesktop("14")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
Greek accented letters30{{CompatGeckoDesktop("15")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
Σ → σ or word-final ς30{{CompatGeckoDesktop("14")}}{{CompatNo}}{{CompatNo}}6.0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support1.0{{CompatGeckoMobile("1")}}6.06.01.0
capitalize(CSS3 version){{CompatUnknown}}[1]{{CompatGeckoMobile("14")}}[1]{{CompatUnknown}}[1]{{CompatUnknown}}[1]{{CompatUnknown}}[1]
full-size-kana{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
full-width{{CompatNo}}{{CompatGeckoMobile("19")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
ß → SS{{CompatUnknown}}{{CompatGeckoMobile("1")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
i → İ and ı→ I{{CompatNo}}{{CompatGeckoMobile("14")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatNo}}
Dutch IJdigraph{{CompatNo}}{{CompatGeckoMobile("14")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
Greek accented letters{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
Σ → σ or word-final ς{{CompatNo}}{{CompatGeckoMobile("14")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
- -

[1] The capitalize keyword was under-specified in CSS 1 and CSS 2.1. There were differences between browsers in the way the first letter was calculated (Firefox considered - and _ as letters, but not the others. Both Webkit and Gecko incorrectly considered letter-based symbols like  to be real letters. Internet Explorer 9 was the closest to the CSS 2 definition, but with some weird cases). By precisely defining the correct behavior, CSS Text Level 3 cleans this mess up. The capitalize line in the browser compatibility table contains the version the different engines started to support this now precisely defined behavior.

- -

 

- -

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////

- -

 

+{{Compat("css.properties.text-transform")}} diff --git a/files/zh-cn/web/css/transform-box/index.html b/files/zh-cn/web/css/transform-box/index.html index b2ba704cf3..b67283c99a 100644 --- a/files/zh-cn/web/css/transform-box/index.html +++ b/files/zh-cn/web/css/transform-box/index.html @@ -62,57 +62,7 @@ transform-box: unset;

Browser compatibility

-

{{ CompatibilityTable }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatNo()}}{{CompatGeckoDesktop("41.0")}}[1]{{CompatNo()}}{{CompatNo()}}{{CompatUnknown()}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatUnknown()}}{{CompatUnknown()}}{{CompatGeckoDesktop("41.0")}}[1]{{CompatUnknown()}}{{CompatUnknown()}}{{CompatUnknown()}}
-
- -

[1] This property is implemented in Gecko 43.0 {{geckoRelease("43")}} behind the preference svg.transform-box.enabled, defaulting to false. Initially it was implemented in Gecko 41.0 {{geckoRelease("41")}} with the preference named svg.transform-origin.enabled. See {{bug("923193")}} and {{bug("1208550")}}.

+{{Compat("css.properties.transform-box")}}

See also

diff --git a/files/zh-cn/web/css/transition-delay/index.html b/files/zh-cn/web/css/transition-delay/index.html index 3492c90d67..8859c3b34b 100644 --- a/files/zh-cn/web/css/transition-delay/index.html +++ b/files/zh-cn/web/css/transition-delay/index.html @@ -336,59 +336,7 @@ var intervalID = window.setInterval(updateTransition, 7000);

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
?特性ChromeFirefox (Gecko)Internet ExplorerOperaSafari
基本支持1.0 {{property_prefix("-webkit")}}{{CompatGeckoDesktop("2.0")}} {{property_prefix("-moz")}}
- {{CompatGeckoDesktop("16.0")}}
10.011.6 {{property_prefix("-o")}}
- 12.10
3.0 {{property_prefix("-webkit")}}
-
- -
- - - - - - - - - - - - - - - - - - - -
特性AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
基本支持2.1 {{property_prefix("-webkit")}}{{CompatGeckoMobile("2.0")}} {{property_prefix("-moz")}}
- {{CompatGeckoMobile("16.0")}}
{{CompatUnknown}}10.0 {{property_prefix("-o")}}
- 12.10[1]
3.2 {{property_prefix("-webkit")}}
-
- -

[1] 详见 blog post about Opera 12.50.

+{{Compat("css.properties.transition-delay")}}

扩展阅读

diff --git a/files/zh-cn/web/css/transition-duration/index.html b/files/zh-cn/web/css/transition-duration/index.html index bb5d632a36..ce41084bd1 100644 --- a/files/zh-cn/web/css/transition-duration/index.html +++ b/files/zh-cn/web/css/transition-duration/index.html @@ -323,57 +323,7 @@ var intervalID = window.setInterval(updateTransition, 7000);

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1.0 {{ property_prefix("-webkit") }}{{ CompatGeckoDesktop("2.0") }} {{ property_prefix("-moz") }}
- {{ CompatGeckoDesktop("16.0") }}
10.011.6 {{ property_prefix("-o") }}
- 12.10 #
3.0 {{ property_prefix("-webkit") }}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support2.1 {{ property_prefix("-webkit") }}{{ CompatGeckoMobile("2.0") }} {{ property_prefix("-moz") }}
- {{ CompatGeckoMobile("16.0") }}
{{ CompatUnknown() }}10.0 {{ property_prefix("-o") }}
- 12.10 #
3.2 {{ property_prefix("-webkit") }}
-
+{{Compat("css.properties.transition-duration")}}

参考

diff --git a/files/zh-cn/web/css/transition-property/index.html b/files/zh-cn/web/css/transition-property/index.html index 36a3372c14..2753f6f3f8 100644 --- a/files/zh-cn/web/css/transition-property/index.html +++ b/files/zh-cn/web/css/transition-property/index.html @@ -75,75 +75,7 @@ transition-property: unset;

浏览器兼容

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}} {{property_prefix("-webkit")}}{{CompatGeckoDesktop("2.0")}} {{property_prefix("-moz")}}
- {{CompatGeckoDesktop("16.0")}}
1011.6{{property_prefix("-o")}}
- 12.10 #
{{CompatVersionUnknown}} {{property_prefix("-webkit")}}
IDENT value{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}12.10 {{CompatNo}}{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}} {{property_prefix("-webkit")}}{{CompatVersionUnknown}} {{property_prefix("-webkit")}}{{CompatGeckoMobile("2.0")}} {{property_prefix("-moz")}}
- {{CompatGeckoMobile("16.0")}}
{{CompatUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}} {{property_prefix("-webkit")}}
IDENT value{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatNo}}
-
+{{Compat("css.properties.transition-property")}}

参考

diff --git a/files/zh-cn/web/css/transition-timing-function/index.html b/files/zh-cn/web/css/transition-timing-function/index.html index e01f97037c..6c84e2e9b6 100644 --- a/files/zh-cn/web/css/transition-timing-function/index.html +++ b/files/zh-cn/web/css/transition-timing-function/index.html @@ -571,58 +571,7 @@ var intervalID = window.setInterval(updateTransition, 7000);

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{ CompatVersionUnknown() }}{{ property_prefix("-webkit") }}{{ CompatGeckoDesktop("2.0") }}{{ property_prefix("-moz") }}
- {{ CompatGeckoDesktop("16.0") }}
1011.6{{ property_prefix("-o") }}
- 12.10 #
{{ CompatVersionUnknown() }}{{ property_prefix("-webkit") }}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatVersionUnknown() }}{{ property_prefix("-webkit") }}{{ CompatVersionUnknown() }}{{ property_prefix("-webkit") }}{{ CompatGeckoMobile("2.0") }}{{ property_prefix("-moz") }}
- {{ CompatGeckoMobile("16.0") }}
{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatVersionUnknown() }}{{ property_prefix("-webkit") }}
-
+{{Compat("css.properties.transition-timing-function")}}

参考

diff --git a/files/zh-cn/web/css/type_selectors/index.html b/files/zh-cn/web/css/type_selectors/index.html index 5c406694e9..1375d55ca7 100644 --- a/files/zh-cn/web/css/type_selectors/index.html +++ b/files/zh-cn/web/css/type_selectors/index.html @@ -69,54 +69,6 @@ translation_of: Web/CSS/Type_selectors

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.selectors.type")}}

See also

diff --git a/files/zh-cn/web/css/universal_selectors/index.html b/files/zh-cn/web/css/universal_selectors/index.html index 0289c4f3e3..28f0a0ba34 100644 --- a/files/zh-cn/web/css/universal_selectors/index.html +++ b/files/zh-cn/web/css/universal_selectors/index.html @@ -72,71 +72,6 @@ translation_of: Web/CSS/Universal_selectors

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{ CompatVersionUnknown() }}{{ CompatGeckoDesktop("1") }}7{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
Combination with namespace support{{ CompatVersionUnknown() }}{{ CompatGeckoDesktop("1") }}981.3
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatGeckoMobile("1") }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
Combination with namespace support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.selectors.universal")}}

相关链接

diff --git a/files/zh-cn/web/css/url()/index.html b/files/zh-cn/web/css/url()/index.html index 2199ca83ed..85f9f27cc5 100644 --- a/files/zh-cn/web/css/url()/index.html +++ b/files/zh-cn/web/css/url()/index.html @@ -79,50 +79,4 @@ original_slug: Web/CSS/url

浏览器兼容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
特性ChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
基本支持1.01.0 (1.0)3.03.51.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - -
特性AndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
基本支持1.01.0 (3.5)yesyes1.0
-
+{{Compat("css.types.url")}} diff --git a/files/zh-cn/web/css/will-change/index.html b/files/zh-cn/web/css/will-change/index.html index 8ae9374a37..4628f932b5 100644 --- a/files/zh-cn/web/css/will-change/index.html +++ b/files/zh-cn/web/css/will-change/index.html @@ -113,52 +113,4 @@ function removeHint() {

浏览器兼容

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatChrome(36)}}{{CompatGeckoDesktop(36)}} [1]{{CompatNo}}{{CompatOpera(24)}}{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support37{{CompatGeckoMobile(36)}} [1]{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -

[1] 在 Firefox 31 到 35 中,需要在 about:config 中开启 layout.css.will-change.enabled 选项。

+{{Compat("css.properties.will-change")}} diff --git a/files/zh-cn/web/css/word-spacing/index.html b/files/zh-cn/web/css/word-spacing/index.html index 914fa1a7d6..92c9872b81 100644 --- a/files/zh-cn/web/css/word-spacing/index.html +++ b/files/zh-cn/web/css/word-spacing/index.html @@ -112,50 +112,4 @@ word-spacing: inherit;

Browser compatibility

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1.0{{ CompatGeckoDesktop("1.0") }}6.03.51.0 (85)
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("css.properties.word-spacing")}} -- cgit v1.2.3-54-g00ecf