@Programming-School-Pro-Coding
Posted
Very Amazing Website
In my opinion you can put a transition of all hovers by the following code:
* {
transition: all 0.5s; /* You can put your own time */
}
Why do you use react js ?
Marked as helpful
@jphiron
Posted
@Programming-School-Pro-Coding
Hey there! Thanks for the feedback!
You are quite right, I could apply the transition using the * selector and I will probably refactor to use it shortly, I wanted to avoid using it from the start in case there were any edge cases of active states that did not require a transition.
I decided to use react for two reasons:
-
the context API makes theme switching a lot easier and a lot more graceful than a vanilla JS solution
-
I am currently very interested in react and trying to get some practice of using it to build projects!
Let me know if there's anything else you'd like to know! 🙂
@Programming-School-Pro-Coding
Posted
@jphiron
No, i understand you