摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> <title>布局实例</title></head><style type="text/css"> .menu{ list-style: none; background-col 阅读全文
posted @ 2019-12-04 23:45 李俊鹏Python 阅读(151) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> <title>元素层级</title></head><style type="text/css"> .con{ width: 400px; height: 400px; bord 阅读全文
posted @ 2019-12-04 22:49 李俊鹏Python 阅读(207) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> <title>固定定位</title></head><style type="text/css"> .con{ width: 400px; height: 400px; bord 阅读全文
posted @ 2019-12-04 22:42 李俊鹏Python 阅读(120) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> <title>绝对定位</title></head><style type="text/css"> .con{ width: 400px; height: 400px; bord 阅读全文
posted @ 2019-12-04 22:26 李俊鹏Python 阅读(116) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> <title>相对定位</title></head><style type="text/css"> .con{ width: 400px; height: 400px; bord 阅读全文
posted @ 2019-12-04 22:17 李俊鹏Python 阅读(598) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> <title>清除浮动</title></head><style type="text/css"> .con,.con2{ width: 300px; border:1px so 阅读全文
posted @ 2019-12-04 22:01 李俊鹏Python 阅读(113) 评论(0) 推荐(0) 编辑