<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
.box{
font-size: 20px;
line-height: 30px;
text-indent: 40px;
}
.box span{
color: skyblue;
font-weight: bold;
}
.box em{
font-style: normal;
text-decoration: underline;
font-weight: bold;
color: pink;
}
.box .span02{
color: gray;
}
/* div{
color: aqua;
font-size: 20px;
font-family:"宋体";
line-height: 30px;
/* font: normal 20px/30px "宋体";
text-decoration: underline;
} */
/* em{
font-style: normal;
}
span{
font-size: 30px;
color: green;
}
p{
text-align: center;
}
a{
text-decoration: none;
text-align: center;
} */
</style>
</head>
<body>
<div class="box">
主要应用在选择父元素下的子元素,或者子元素下面的<span>子元素</span>
可与标签元素结合使用,<em>减少命名</em>,同时也可以通过层级,防止命名冲突。
主要应用在选择<span class="span02">父元素</span>下的子元素,或者子元素下面的子元素
,可与标签元素结合使用,减少命名,同时也可以通过层级,防止命名冲突。
主要应用在选择父元素下的子元素,或者子元素下面的子元素
,可与标签元素结合使用,减少命名,同时也可以通过层级,防止命名冲突。
</div>
<!-- <div >
<span>环境搭建</span>后端开<em>飞机</em>本文发稿
</div>
<p>公司辛苦过去是空虚</p>
<a href="www.baidu.com">百度</a> -->
</body>
</html>