Keylabel classes are very useful. But how can you style keylabels by row?
There are no classes for row 1, row 2, row 3, etc.
And pseudo-selectors like :nth-child are evidently not supported. For example, if your keyboard was 10x3 and you wanted to select the second row, this wouldn’t work:
Keylabel classes are very useful. But how can you style keylabels by row?
There are no classes for row 1, row 2, row 3, etc.
And pseudo-selectors like :nth-child are evidently not supported. For example, if your keyboard was 10x3 and you wanted to select the second row, this wouldn’t work:
#keyboard-bg>.key:nth-child(n+11):nth-child(-n+20) .keylabel1
So I’m asking for some row classes, please. :)
Then we could style keylabels by row as simply as:
.row1 .keylabel1
Or whatever. Thanks for reading!