.a_link a { text-underline-offset: -0.2em; text-decoration: underline 0.15em; text-decoration-color : transparent; transition: text-underline-offset 400ms, text-decoration-color 400ms; } .a_link a:hover { text-decoration-color: #79d51d; text-underline-offset: 0.2em; }