I want to display the toggle_embed
class only if the a
element has has-embed
class. Is there any way I can solve this using CSS?
<div class="comment HAS_EMBEDDED">
<div class="toggle_embed">Embedded content</div>
<a class="has-embed">@name</a>
<a>Text</a>
</div>