摘要: 伪类选择器 <style> /* 这几个样式同时设置时的顺序: love hate l(link)ov(visited)e h(hover)a(active)te */ div { width:200px; height: 200px; background-color: #f90; } /* 鼠标 阅读全文
posted @ 2023-03-10 21:10 chichi0002 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 鼠标光标样式 /* 默认样式 */ cursor: default; /* 隐藏鼠标 */ cursor: none; /* 小手指 */ cursor: pointer; /* 文字光标 */ cursor: text; /* 移动 */ cursor: move; /* 等待,加载 */ cur 阅读全文
posted @ 2023-03-10 21:09 chichi0002 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 表格样式 table { width: 800px; /* 宽度,自动分配和每列固定。 */ table-layout: auto; table-layout: fixed; /* separate 默认值,分离单元格 collapse 合并单元格 */ border-collapse: separ 阅读全文
posted @ 2023-03-10 21:08 chichi0002 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 列表样式 /* 列表样式,只能对ul、ol、li设置 */ /* 去掉列表前的序列 */ /* list-style: none; */ /* 列表样式为小圆圈*/ list-style-type: circle; /* 列表样式为小圆点*/ list-style-type: decimal; /* 阅读全文
posted @ 2023-03-10 21:08 chichi0002 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 1.背景样式 1.1 背景图片 /* 添加背景色后,填满视口 */ background-color: #099; background-image: url( ); background-repeat: repeat; background-repeat: no-repeat; backgroun 阅读全文
posted @ 2023-03-10 20:45 chichi0002 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 关于text-decoration 作用:text-decoration属性规定添加到文本的修饰,下划线,上划线,删除线等 text-decoration属性是以下三种属性的简写: text-decoration-line text-decoration-color text-decoration- 阅读全文
posted @ 2023-03-10 20:44 chichi0002 阅读(49) 评论(0) 推荐(0) 编辑