我正试图在页面上隐藏li和标签。
我的问题是li没有任何特定的ID或类。 与标签相同。
<li><a href="https://www.test.com/feature/%d8%ac%d9%85%d8%b9-%d8%a7%d9%84%d8%a7%d9%86%d9%85%d8%a7%d8%b7/"><i class="fa fa-check"></i>this is label text</a></li>
这是第二个
<label class="checkbox-inline"><input name="feature[]" type="checkbox" value="%d8%ac%d9%85%d8%b9-%d8%a7%d9%84%d8%a7%d9%86%d9%85%d8%a7%d8%b7">جمع الانماط</label>
有什么技巧可以使它起作用吗?
答案 0 :(得分:0)
:not([class]):not([id]) {display: none; }