@EtnoPolino
Posted
How can I simultaneously hover the social links a border and a logo and there is a problem to my code what advice you will give?
This is happening because you used border-radius = 50% on <li> instead of the <i> element. Actually on your code, you used CSS on <li> instead of <i> this is what you have :
li {
border: solid 2px #fff;
background: none;
padding: 0.2em;
padding: 0.4em;
width: 40px;
}
ul li:hover, i:hover{
border-color: hsl(300, 69%, 71%);
color: hsl(300, 69%, 71%);
}
remove that and use something like :
i {
border: solid 2px #fff;
background: none;
padding: 0.2em;
padding: 0.4em;
width: 40px;
}
i:hover{
border-color: hsl(300, 69%, 71%);
color: hsl(300, 69%, 71%);
}
it'll work.
Good Luck.
Marked as helpful
@troy03
Posted
@EtnoPolino thank you this a big help!
@grifano
Posted
@EtnoPolino Hi, how do you past the code within code-block? Lookβs very nice π
@EtnoPolino
Posted
@Grifano use the triple tilde ```` before and after your code.