This last one would be better written with the transition in the h2 so you get the same effect on transition out.
h2
.entry h2 { transition: color 0.3s ease; // Also, it's best to only target the property you intend to transition } .entry h2:hover{ color:#f00; }
+1 for the reminder of clamp, I need to use this more often now that it's far more widely supported.
clamp
That's a really nice advice James! Thank you ✨ I'll improve that part, so that all the readers get the best version!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This last one would be better written with the transition in the
h2
so you get the same effect on transition out.+1 for the reminder of
clamp
, I need to use this more often now that it's far more widely supported.That's a really nice advice James! Thank you ✨ I'll improve that part, so that all the readers get the best version!