Blogger Information
Blog 4
fans 0
comment 0
visits 2878
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
0424演示css中的选择器优先级
少爷仔的博客
Original
761 people have browsed it

实例

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>演示css中的选择器优先级</title>
    <style>
        div{width:200px;height:200px;background-color:red;}
        .box2{background-color:pink;}
        #box1{background-color:blue;}

    </style>
</head>
<body>
    <div id="box1" class="box2" >
        我是一个盒子
    </div>
</body>
</html>

运行实例 »

点击 "运行实例" 按钮查看在线实例


Correction status:Uncorrected

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post