I need to remove strings that do not have an html
tag.
For example :
<div class="A">
<a href="#" class="link">keep this</a> and i want to remove this
</div>
Can I do this using only css ?
Maybe you can use font-size
::
.A {
font-size: 0;
}
.A a {
font-size: 20px;
}
<div class="A">
<a href="#" class="link">keep this</a> and i want to remove this
</div>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With