摘要: 1.html选择器(标签选择器) 基本语法: html标签名称{ 属性名:属性值; 属性名:属性值; } 继续在上面的代码中做修改,实例代码: <!DOCTYPE html .span news{ font weight:bold; background color:pink; color:blac 阅读全文
posted @ 2017-08-03 00:34 renpingsheng 阅读(1519) 评论(0) 推荐(0) 编辑
摘要: 1.css中的选择器: 1.类选择器,又叫 class 选择器 2. id 选择器 3. html 元素选择器(又叫标签选择器) 4.通配符选择器 5.伪类选择器 6.组合选择器(多元素选择器,子元素选择器,后代选择器) 简单来说,选择器就是在 css 中创建,而在网页页面( html,jsp,ph 阅读全文
posted @ 2017-08-03 00:21 renpingsheng 阅读(4654) 评论(0) 推荐(1) 编辑