Hi I had to insert a colon in the clock, so I wrapped the minutes in the span and then stylized it. But to me it’s a bit of a weird way. How can this be done in another way? Thanks! https://codepen.io/ig20/pen/ExwrbBQ
@SempervivumJan 15.2022 — #Usually `::before</C> and <C>::after</C> are fine, however in this case the colons can be inserted more easily by adding them to the HTML: <CODE>getS('.clock').innerHTML = </code></span>${hh<10 ? '0'+hh:hh}:${min<10 ? '0'+min:min}:${ss<10 ? '0'+ss:ss}`
@SempervivumJan 15.2022 — #I don't understand this question. The colons will be part of the text and will be arranged and aligned like any other character in the text.
@SempervivumJan 15.2022 — #Then you need to wrap them in span tags and shift them a bit upwards: getS('.clock').innerHTML = <span><code>${hh&lt;10 ? '0'+hh:hh}&lt;span&gt;:&lt;/span&gt;${min&lt;10 ? '0'+min:min}&lt;span&gt;:&lt;/span&gt;${ss&lt;10 ? '0'+ss:ss}</code></span> ``<i> </i>.clock span{ position: relative; bottom: 0.1em; }<i> </i>``