摘要:
CSS 选择器分类 普通选择器:使用HTML元素标签座位选择器。 如: p{ font-size:24px; } 派生选择器:通过依据元素在其位置的上下文关系定义样式,是标记更加简洁。 如: h2 strong{color:bule;} <h2>The strongly emphasized word in this subhead i... 阅读全文
摘要:
CSS (Cascading Style Sheets) 层叠样式表层叠样式表的分类: 外部样式表:(位于外部的.css文件中,通过link元素引入) 如: <html> <head> <link href="xxx.css" rel="stylesheet" style="... 阅读全文