摘要: 1.标签选择器 css 中h1{color:red;} html中{<div>1</div>} 2.类选择器 如css中.btn{color:red;} html中{<h1 class="btn">q</h1>} 我们需要在书写类名选择器的时候,书写类名前面加一个英文的小数点(.) 然后我们在htm 阅读全文
posted @ 2021-11-09 20:34 sjn2002 阅读(15) 评论(0) 推荐(0)