摘要: ## 1. 属性以固定字符结尾 ``` div[class$="-btn"]:active{ opacity:.8 } ``` ``` ``` 可匹配到div,class为“-btn”结尾的元素 ## 2. 属性以固定字符开头 ``` div[id^="item-"]{ color:red } `` 阅读全文
posted @ 2023-07-06 10:26 胡安 阅读(234) 评论(0) 推荐(0) 编辑