首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

CSS定位 | CSS Positioning

CSS PositioningCSS的一个模块,它定义了如何在页面上定位元素。

参照系

CSS属性

  • bottom
  • clear
  • display
  • float
  • left
  • position
  • right
  • top
  • z-index

导轨

了解CSS z-index通过几个示例,介绍了堆叠上下文的概念,并解释了z顺序的工作原理。

规范

Specification

Status

Comment

CSS Positioned Layout Module Level 3

Working Draft

CSS Level 2 (Revision 1)

Recommendation

浏览器兼容性

Feature

Chrome

Firefox (Gecko)

Internet Explorer

Opera

Safari (WebKit)

Basic support

1.0

1.0 (1.7 or earlier)

5.0

6.0

1.0 (85)

Feature

Android

Firefox Mobile (Gecko)

IE Mobile

Opera Mobile

Safari Mobile

Basic support

1.0

1.0 (1)

(Yes)

(Yes)

(Yes)

扫码关注腾讯云开发者

领取腾讯云代金券