I have a div that is part of a link that is inside another div, I wanted it if it passed the cursor anywhere in the div, if it applied to both the link text and the div from within.
The hover is working only as separate and I can not manage to make the two work together.
Does anyone have an idea how I can do this?
.pokeBolaIn{
background:grey;
color:black;
border-radius:100px;
height:20x;
width:20px;
text-align: center;
float: left;
}
.pokeBolaOut{
position:absolute;
}
.pokeBolaOut a{
color: black;
text-decoration: none;
}
.pokeBolaOut a:hover{
color: red;
}
.pokeBolaOut a .pokeBolaIn:hover{
background:red;
color:white;
}
<div class="pokeBolaOut">
<a href="#"><div class="pokeBolaIn">+</div>Confira nosso portifólio</a>
</div>