There's a little color bug in my linktree. As I am a perfectionist in such things it would be great if there's a solution.
.linktree a {
color: #464646;
}
.linktree:hover, .linktree:last-child {
background: #6eb4e0;
background-image: linear-gradient(0deg, #6eb4e0, #529DCC);
}
.linktree:hover:after, .linktree:last-child:after {
background: #6eb4e0;
background-image: linear-gradient(-45deg, #6eb4e0, #529DCC);
}
.linktree:last-child, .linktree:last-child:after {
background: #9dd16d;
background-image: linear-gradient(0deg, #9dd16d, #76b13f);
}
.linktree:last-child:hover, .linktree:last-child:hover:after {
background: #9dd16d;
background-image: linear-gradient(0deg, #9dd16d, #76b13f);
}
And a second question:
Shouldn't the code above, taken from original CSS file, not be this:
.linktree a {
color: #464646;
}
.linktree:hover {
background: #6eb4e0;
background-image: linear-gradient(0deg, #6eb4e0, #529DCC);
}
.linktree:hover:after {
background: #6eb4e0;
background-image: linear-gradient(-45deg, #6eb4e0, #529DCC);
}
.linktree:last-child, .linktree:last-child:after {
background: #9dd16d;
background-image: linear-gradient(0deg, #9dd16d, #76b13f);
}
.linktree:last-child:hover, .linktree:last-child:hover:after {
background: #9dd16d;
background-image: linear-gradient(0deg, #9dd16d, #76b13f);
}
There seems to be duplicate code for linktree:last-child and linktree:last-child:after...