aro*_*eer 9 css css-selectors css3
是否可以编写一个只选择调用了文本溢出行为的元素的css选择器?
<div style="width: 200px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis">
I don't want to select this
</div>
<div style="width: 200px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis">
But I do want to select this because it's overflowing
</div>
Run Code Online (Sandbox Code Playgroud)