Is there a CSS way to select an element that looks like that by class?
<a class="" href="...">
Like a selector for empty class declarations?
You can use element-attribute selector here with an empty class value
div[class=""] { color: red; }
Demo
Note: You can replace the div with required element
div
2.1m questions
2.1m answers
60 comments
57.0k users