歡迎來到DIVCSS5查找CSS資料與學習DIV CSS布局技術!

例:屬性中做字符串拆分,只要能拆分出來value這個字符串就行;

div [class *= hello]{

font-size:16px;

color: red;

}

<div id="div2">

<div class="dd"></div>

<div class="dd ssshello"> Lorem ipsum dolor sit amet, consectetur adipisicing elit. A beatae, deleniti deserunt dolor est expedita facilis illum in iusto laboriosam magnam nihil nostrum omnis perspiciatis quis sunt ullam vel voluptatem?</div>//正確

<div class="dd"></div>

<div class="dd"></div>

<div class="dd"></div>

</div>

eg:[title*=flower] <img src="/i/eg_tulip.jpg" title="ffffflowerrrrrr" />

如需轉載,請注明文章出處和來源網址:http://www.rs2pl.com/rumen/r59421.shtml

久久天天躁狠狠躁夜夜躁2020