zoukankan      html  css  js  c++  java
  • CSS属性选择器

     
    [attribute]
    包含指定属性
    [attribute=value]
    包含指定属性和值
    [attribute~=value]
    属性值中 
    包含 value 这个词汇
    比如 type="i love you" 包含love这个词汇
    [attribute|=value]
    属性值中 
    第一个词汇 必须是 value 或者 value-xx
    比如符合[type|=en]的有:
    type="en",
    type="en-xx",
    type="en other",
    type="en-xx other"
    [attribute^=value]
    属性值 以value字符开头 。
    比如符合[type^=en]的有:
    type="en",
    type="enxx",
    type="en-xx"都行。
    [attribute|=value]不能选到type="enxx"。
    [attribute$=value]
    属性值 以value字符结尾
    [attribute*=value]
    属性值 包含value字符
    青春是孤独的旅行[Stay hungry,Stdy foolish]
  • 相关阅读:
    002-mybatis主配置文件
    001-mybatis框架
    mybatis学习
    tcp连接与释放
    浏览器输入url的全过程
    设备
    读写分离(三)
    读写分离(二)
    读写分离(一)
    主从复制(三)
  • 原文地址:https://www.cnblogs.com/gagarinwjj/p/3492907.html
Copyright © 2011-2022 走看看