Design comparison
SolutionDesign
Solution retrospective
the most difficult think that i found in thise challange is to creating round checkbox how to apply linear gradient in background of checkbox I tried my best of applying linear gradent in the background of checkbox but I am un able so , i apply purple color Any feedback is welcome
Community feedback
- @denieldenPosted over 2 years ago
Hi Ganesh, great work on this challenge! 😉
Here are a few tips for improve your code:
- to apply linear gradient in background of checkbox add
background-image: linear-gradient(blue, purple)
toinput:checked[type="checkbox"]
class - add
outline: 0
toinput
element and remove the blue line onfocus
state (when you write or click inside input) - add
transition
when change dark/light mode - instead of using
px
use relative units of measurement likerem
-> read here - i can add tasks also with blanks, add a control... The
trim()
method can help you -> read here
Overall you did well 😁 Hope this help!
Marked as helpful1 - to apply linear gradient in background of checkbox add
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord