摘要: 1.css基础selector {property: value}eg:h1 {color:red; font-size:14px;}p { text-align: center; color: black; font-family: arial;}h1,h2,h3,h4,h5,h6 { color: green; }希望列表中的 strong 元素变为斜体字,而不是通常的粗体字,可以这样定义一个派生选择器:li strong { font-style: italic; font-weight: normal; }id 选择器以 "#" 来定义。下面的两个 id 选择器.. 阅读全文
posted @ 2014-02-21 09:49 luyujie_may 阅读(210) 评论(0) 推荐(0) 编辑