Can someone help me figure out how to target a specific element in my CSS? I'm trying to style the toolbar within the main element, like this:
.main .toolbar {
color: rgba(6, 132, 134, 255);
}
I've tried using element > .element
and .element element
, but neither seem to work. Here's the HTML structure:
<div class="main" id="main">
<div class="toolbar">
</div>
</div>
How can I specifically target the toolbar inside the main div when there are other toolbars in different divs? Any help would be greatly appreciated!
Thank you for your assistance.