--- title: CSS Positioning slug: Web/CSS/CSS_Positioning translation_of: Web/CSS/CSS_Positioning ---
{{CSSRef}}
CSS Positioning 是一个CSS模块,用来定义如何将元素在页面中进行绝对定位和相对定位。
规范 | 状态 | 注释 |
---|---|---|
{{ SpecName('CSS3 Positioning') }} | {{ Spec2('CSS3 Positioning') }} | |
{{ SpecName('CSS2.1', 'visuren.html') }} | {{ Spec2('CSS2.1') }} |
{{CompatibilityTable}}
性能 | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 1.0 | {{ CompatGeckoDesktop("1") }} | 5.0 | 6.0 | 1.0 (85) |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | 1.0 | {{ CompatGeckoMobile("1") }} | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} |