Design comparison
SolutionDesign
Solution retrospective
Gimme some feedback....!
Community feedback
- @MohtashimAli85Posted over 2 years ago
learn about transitions Say we have a anchor tag whose color changes to red on hover for this /CSS Transition Syntax/
selector { transition: property duration timing-function delay|initial|inherit; } a{ transition: color 0.2s ease-in; } a:hover{ color:red; } div:hover { background-color: #000; transition: background-color 400ms; } /* Or control over animation with transition timing */ div:hover { background-color: #000; transition: background-color 400ms ease-in-out; }
1@Mahad410Posted over 2 years ago@MohtashimAli85 Already learned it, thank you for reminding me....!
1
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