Guys I'am struggling with this for a while now. to how can i talk with a child who is on a different layer and in div of divs like:
in css all divs are positioned relative. there is a transition on the kiddo what i want to change from mama
like
.mama:hover is(".kiddo") { width:100px}
I ve tried really every thing I know. like
.links.mama:hover .contentarea > .kiddo {..}
or different stuff with ~, change classess to IDs etc...
But I cant reach kiddo.
somebody maybe take a look and show me the right direction?
thanks.
Code:
<body>
<div id=main>
<div class=top>
<div class=links>
<div class=mama>
Mama
</div>
</div> <!-- end link -->
</div>! end top
<div class=content>
<div class=contentarea>
<div class=kiddo>
here we go
</div>
</div>
</div
</div>
in css all divs are positioned relative. there is a transition on the kiddo what i want to change from mama
like
.mama:hover is(".kiddo") { width:100px}
I ve tried really every thing I know. like
.links.mama:hover .contentarea > .kiddo {..}
or different stuff with ~, change classess to IDs etc...
But I cant reach kiddo.
somebody maybe take a look and show me the right direction?
thanks.