tools: add a visual row counter for the <tr> elements in cmd/tools/fast

This commit is contained in:
Delyan Angelov 2024-01-08 19:20:10 +02:00
parent 252540a1ea
commit 33d7843027
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -49,6 +49,20 @@ table td:nth-child(3) {
.equal {
background-color: rgb(113, 68, 172);
}
table {
counter-reset: rowNumber -1;
}
table tr {
counter-increment: rowNumber;
}
table tr td:first-child::after {
position: absolute;
top: -1px;
right: 0px;
content: counter(rowNumber);
font-size: 10px;
}
</style>
</head>
<body>