🌻CSS 布局-定位

type
status
date
slug
summary
tags
category
icon
password
☀️
点击带三角形的标题可以展开收缩内容。

定位

作用:灵活的改变盒子在网页中的位置
  • 定位模式:position
  • 边偏移:设置盒子的位置
    • left
    • right
    • top
    • bottom
  • 子绝父相:子代用绝对定位,父代需要用相对定位
🌻
欢迎在下方留言讨论~
CSS 布局-flexCSS 布局-移动端
Loading...
目录