mirror of
https://github.com/vlang/v.git
synced 2025-09-17 11:26:17 -04:00
tools: add a visual row counter for the <tr> elements in cmd/tools/fast
This commit is contained in:
parent
252540a1ea
commit
33d7843027
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user