CSS设置文字与装饰线颜色分离text-decoration-color 与 color 分离

PHOTO EMBED

Thu Apr 29 2021 07:34:51 GMT+0000 (UTC)

Saved by @ycljcfer

.color {
    text-decoration-style: wavy;
    cursor: pointer;
    transition: .5s;

    &:hover {
        color: transparent;
        text-decoration-color: pink;
    }
}
content_copyCOPY

https://github.com/chokcoco/iCSS/issues/103