4 ms·
Nice one. A slight change that will result in less CSS: <ruby class="smiles">C<rt data-atom="1"></rt></ruby> With this CSS: .smiles rt::after { conte
by lelandfe 5y ago
Nice one. A slight change that will result in less CSS:
<ruby class="smiles">C<rt data-atom="1"></rt></ruby>
With this CSS:
.smiles rt::after {
content: attr(data-atom);
}
- dalke 5y agoThanks twik and leflandfe! Using CSS ::after resolves those highlighting and copy&paste issues I noticed. New jsfiddle at https://jsfiddle.net/hnw1zbed/2/ https://jsfiddle.net/hnw1zbed/2/ .