01-HTML基础与进阶-day6-录像283

01-HTML基础与进阶-day6-录像283

08id选择器.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style type="text/css">
       /* id一般只允许使用一次*/
        #big {
            color: red;
        }
        .tou {
            color: skyblue;
        }
    </style>
</head>
<body>
    <div id="big">熊大</div>
    <div>熊二</div>
    <div class="tou">光头强</div>
</body>
</html>

 01-HTML基础与进阶-day6-录像283

 

上一篇:01-HTML基础与进阶-day6-录像282


下一篇:JS判断浏览器是否是IE