摘要: (4) position(定位) fixed 一般用来写网页顶端的固定导航条,或者两侧的菜单。 <!--对于块级标签来说加上position:fixed之后,该div就不会占一整行,一般需要手动定义宽度,如width:100%--> <div style="position:fixed;height 阅读全文
posted @ 2022-03-06 10:49 Blue啊 阅读(21) 评论(0) 推荐(0)