TAG
CSS
Result
Run
License
<h2 class="title" data-type="original"><span>大学</span></h2> <h3 class="title" data-type="variant"><span>大学</span></h3>
h2.title::after, h3.title::after { content: attr(data-type); color: red; position: absolute; } .title > span { font-size: 2em; } h3.title > span { font-variant-east-asian: traditional; }
Console
expand_less
License
License
by DevDic
Close