【CSS】文本设置、字体设置

1、设置文本默认为红色 body {color:red}    2、文本类选择器: p.ex {color:rgb(0,0,255)}  <p class="ex">该段落定义了 class="ex"。该段落中的文本是蓝色的。</p> 3、设置标题 h1 {color:#00ff00} h1为绿色 4、设置文本的背景颜色 span.highlight { background-color:yell
相关文章
相关标签/搜索