<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>优先级</title>
<style type="text/css">
#div1{
background-color: #2E2FCC;
}
.box{
background-color: #00CC3C;
}
div{
width: 200px;
height:200px;
background-color: red;
}
</style>
</head>
<body>
<!--优先级 id > 类 > 标签 -->
<div id="div1" class="box">哈哈</div>
</body>
</html>