CSS 文字装饰 text-decoration & text-emphasis

PHOTO EMBED

Thu Apr 29 2021 07:40:14 GMT+0000 (UTC)

Saved by @ycljcfer

/* 
<p>
    A B C D  
    <span class="keyword">E F</span>
    G H
    <span class="word">I J</span>
    K L
    <span class="emoji">M N</span>
</p>
 */



.keyword {
    text-emphasis: circle #f00;
}
.word {
    text-emphasis: 'x' blue;
}
.emoji {
    text-emphasis: '😋';
}
content_copyCOPY

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