JSFiddle - React, Tailwind, and code Playground
HTML
<textarea>0
1
2
3
4
5
6
7
8
9
10</textarea>
CSS
textarea {
height: 200px;
font-size: 20px;
line-height: 1;
background-image: repeating-linear-gradient(to bottom,
#fff,
#fff 9.5%,
#000 9.5%,
#000 10%);
}