mirror of
https://github.com/vlang/v.git
synced 2025-09-18 03:46:36 -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 {
|
.equal {
|
||||||
background-color: rgb(113, 68, 172);
|
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>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user