How to define CSS descendant selectors in Webflow

Hello,

I would like to apply a specific style to a class if it is inside a specific parent class (CSS element element Selector). See below example for which I would like to set CSS for .my-ul-class .my-div-class ul . Is this possible with Webflow?

<div class="my-div-class">
<ul class="my-ul-class">
...
</ul>
</div>

Thanks!

1 Like

You can’t natively — you can always add CSS custom code — but you can hack it visually:

https://twitter.com/vinchubang/status/1259949352933621760?s=20

3 Likes