摘要: 块:独占一行,宽高都可以设置,常见块:h1~h6、p、div、ul、ol、li 行内:一行多个,宽高由内容撑开,无法设置宽高,常见行内:a、strong、b、em、i、del、s、ins、u、span 行内块:一行多个,可以设置宽高,常见行内块:img、input、td 阅读全文
posted @ 2023-05-25 07:03 时间羚羊 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 后代选择器,空格连接 子选择器,>连接 并集选择器,逗号连接 伪类选择器, 阅读全文
posted @ 2023-05-25 06:55 时间羚羊 阅读(3) 评论(0) 推荐(0) 编辑
摘要: body { font: font-style font-wight font-size;line-height font-family; } body { font: italic 700 16px 'Microsoft yahei'; } 阅读全文
posted @ 2023-05-25 06:27 时间羚羊 阅读(6) 评论(0) 推荐(0) 编辑