@abhik-b
Posted
Hi ElliotCase , your solution seems perfect, you have done a great job on this challenge !👌
What I did to have a gradient circle was having a pseudo element for the actual circle(and no borders ) and have that pseudo-element the same bg-color as each todo,then on hovering change the bg-color of actual circle :
.circle {
width: 20px;
height: 20px;
border-radius: 50%;
background: hsl(237, 14%, 26%);
position: relative;
cursor: pointer;
}
.circle::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 93%;
height: 93%;
background: var(--bg-todo);
border-radius: 50%;
}
.todo:hover .circle {
background-image: linear-gradient(hsl(192, 100%, 67%), hsl(280, 87%, 65%));
}
Hope this helps .
Keep it up💯
@ElliotCase
Posted
@abhik-b Thank you Abhik for the feedback! I have implemented your solution and it works perfectly, thank you for your help I have also subscribed to you on Youtube! Keep up the good work.
@abhik-b
Posted
@ElliotCase First of all , your implementation looks amazing I like the micro-interaction on the checkbox you gave.
Secondly thanks for subscribing to my channel and I am glad you liked my work 🙏