Quantcast
Channel: Forum | Webflow - Latest topics
Viewing all articles
Browse latest Browse all 91718

Can a class affect a nested element?

$
0
0

@ctraver2 wrote:

Hello,

I am building a messenger of sorts and would like to know if I can tag the top level div with a variety of classes. One of those is "online". If I tag a div "online" I would like to have a div (which looks like a green dot) inside of the online div to be visible. Otherwise, I would like the green dot div inside the online div to be hidden from view.

Is this even possible? Should I be assigning the "online" class name directly to my green dot instead?

I cannot provide preview links for this project, but hopefully my words have been enough.

Edit, here's a visual:

Best,
Christopher

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 91718

Trending Articles