zoukankan      html  css  js  c++  java
  • 选择器分组

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>
    <style type="text/css">
    .one,#two {
    color:yellow;
    }

    </style>
    </head>
    <body>
    <!--

    选择器分组:
    语法: 选择器1,选择器2...... {
    属性键:属性值;
    }
    -->
    <p class="one" >itcast传智播客</p>
    <p id="two" >itcast传智播客</p>
    <p>itcast传智播客</p>
    <p class="one" >itcast传智播客</p>
    <h1 class="one" >itcast传智播客</h1>
    </body>
    </html>

  • 相关阅读:
    Less-21
    Less-22
    Less-21
    Less-20
    ssrf redis gopher
    Less19
    Less18
    Arm 系统查看、修改系统时间
    通过 grpc 请求标头发送自定义数据
    gRpc 空参数
  • 原文地址:https://www.cnblogs.com/nextgg/p/7646156.html
Copyright © 2011-2022 走看看