I have a scenario where i want to target parent div
which has table inside.
Parent div
has dynamic generated class which make it hard for me to target but the table
inside div
has fixed class name tablepress
as show in example below
<div class="elementor-125">
<table class="tablepress">
......
</table>
</div>
<div class="elementor-126">
<table class="tablepress">
......
</table>
</div>
<div class="elementor-127">
<table class="tablepress">
......
</table>
</div>
Is there a ways using CSS only so that i can target parent div
of table using class tablepress
I have been looking but didnt find a working example as lot of forum say it is not supported yet and other way round is possible is i know but i want to target parent div based on child class