上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 41 下一页
摘要: 尺寸属性 height属性 width属性 line-height属性 max-height属性 min-height属性 max-width属性 min-width属性 阅读全文
posted @ 2022-04-29 23:59 树叶本子 阅读(28) 评论(0) 推荐(0)
摘要: 分组选择器 用于对不同的元素设置相同的样式,元素之间用逗号隔开 比如: h1,h2,p { color:green; } 嵌套选择器 .x y{}:为所有class="x"的元素内的y元素指定样式 y.x{}:为所有class="x"的y元素指定样式 阅读全文
posted @ 2022-04-29 23:57 树叶本子 阅读(38) 评论(0) 推荐(0)
摘要: 单边属性 padding-top/bottom/right/left 简写属性(使用一个属性指定所有边距的属性) padding属性可以有1~4个值,和border-style属性类似 阅读全文
posted @ 2022-04-29 23:52 树叶本子 阅读(52) 评论(0) 推荐(0)
摘要: 单边属性 margin-top/bottom/right/left 简写属性(使用一个属性指定所有边距的属性) margin属性可以有1~4个值,和border-style属性类似 阅读全文
posted @ 2022-04-29 23:51 树叶本子 阅读(27) 评论(0) 推荐(0)
摘要: 轮廓 outline属性(简写属性) 轮廓颜色 outline-color属性 轮廓样式 outline-style属性(\none\dotted\dashed\solid\double\groove\ridge\inset\outset\inherit) 轮廓宽度 outline-width属性( 阅读全文
posted @ 2022-04-29 23:49 树叶本子 阅读(19) 评论(0) 推荐(0)
摘要: 边框样式 border-style属性 none:默认无边框 dotted:定义一个点线边框 dashed:定义一个虚线边框 solid:定义实线边框 double:定义两个边框,两个边框的宽度和border-width的值相同 groove:定义3D沟槽边框,效果取决于边框的颜色值 ridge:定 阅读全文
posted @ 2022-04-29 23:36 树叶本子 阅读(85) 评论(0) 推荐(0)
摘要: margin属性:外边距,位于边框外 border属性:边框 padding属性:内边距,位于边框内 content:盒子的内容 从外到内为:margin border padding content 阅读全文
posted @ 2022-04-29 23:26 树叶本子 阅读(13) 评论(0) 推荐(0)
摘要: 表格边框 border属性 折叠边框 border-collapse顺序 宽度和高度 width属性、height属性 文字对齐 水平对齐方式:text-align属性(left/right/center) 垂直对齐方式:vertical-align属性(top/center/bottom) 表格填 阅读全文
posted @ 2022-04-29 23:22 树叶本子 阅读(32) 评论(0) 推荐(0)
摘要: 无序列表 <ul>标签 有序列表 <ol>标签 列表项标记类型 list-style-type属性(比如:circle/square/upper-roman/lower-alpha) 列表项标记位置 list-style-position属性 列表项标记图像 list-style-image属性(u 阅读全文
posted @ 2022-04-29 23:17 树叶本子 阅读(19) 评论(0) 推荐(0)
摘要: 链接状态 a:link 正常,未访问过的链接 a:visited 用户已访问过的链接 a:hover 当用户鼠标放在链接上时 a:active 链接被点击的那一刻 比如: a:link {color:#000000;} 删除链接中的下划线: a:link {text-decoration:none; 阅读全文
posted @ 2022-04-29 23:09 树叶本子 阅读(24) 评论(0) 推荐(0)
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 41 下一页