Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道我们可以用: 来匹配属性,div[class*=something]但我不想要属性前缀而是类前缀,比如:.icon-[something]。
div[class*=something]
.icon-[something]
有没有办法在css中获取所有具有特定前缀的类?