2019年11月6日

摘要: box-shadow:2px(x轴) 2px(y轴) 5px(阴影模糊程序) #333333(合法颜色值); 阅读全文
posted @ 2019-11-06 18:50 咳咳1122 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 代码如下: <style> table tr td{ border: 1px #000 solid; } table{width: 500px; height: 500px; border-collapse:collapse;(表格中的边框重叠解决办法) } </style> </head> <bo 阅读全文
posted @ 2019-11-06 17:25 咳咳1122 阅读(813) 评论(0) 推荐(0) 编辑
摘要: 页面中允许设置尺寸的元素 1.所有的块级元素都可以设置 2.行内块都可以设置input(单选框和复选框不能设置) 3.本身具有width和height属性的元素,可以设置,比如(table img 行内元素) 大部分的行内元素都不允许设置尺寸。 阅读全文
posted @ 2019-11-06 17:14 咳咳1122 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 要做出上述表格来代码如下: 文档自带 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0 阅读全文
posted @ 2019-11-06 15:46 咳咳1122 阅读(522) 评论(0) 推荐(0) 编辑
摘要: 选择器 权重值 对应意思 !important >1000 标重点 (最高优先级) 内联样式 1000 写在body里的 id选择器 100 style样式里以#开头的 类/伪类 10 在样式里以.开头 元素 1 p、h1、em、a,html 见该链接https://www.w3school.com 阅读全文
posted @ 2019-11-06 15:43 咳咳1122 阅读(509) 评论(0) 推荐(0) 编辑

导航