It seems text-decoration-thickness is not yet animateable in chromium with transition 😭
text-decoration-thickness
transition
I have to correct myself: CSS Houdini makes this possible ✨🧙✨:
<h1>Hello, World!</h1> <style> @property --thickness { syntax: "<length>"; inherits: true; initial-value: 0px; } h1 { --duration: .3s; --thickness: .1em; text-decoration: underline; text-decoration-color: black; text-decoration-thickness: var(--thickness); transition: --thickness var(--duration); } h1:hover { --thickness: .2em; } </style>
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.
It seems
text-decoration-thickness
is not yet animateable in chromium withtransition
😭I have to correct myself: CSS Houdini makes this possible ✨🧙✨: