I had a doubt about above image. How can we display a half digit as shown as above using HTML and CSS? if anyone know , please help me?
For further actions, you may consider blocking this person and/or reporting abuse
I had a doubt about above image. How can we display a half digit as shown as above using HTML and CSS? if anyone know , please help me?
For further actions, you may consider blocking this person and/or reporting abuse
Taiwo Shobo -
Alvaro Montoro -
Megan Lee -
Amr Saafan -
Top comments (2)
You can use the before pseudo-element to achieve this. For example:
CSS
HTML
Edit: In order to make the number dynamic, you can set a data attribute on the section like
data-section-id
and in css usecontent: attr(data-section-id)
Please help me to solve above problem