mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 11:16:15 -04:00
Update _table.scss
use `:is()`
This commit is contained in:
parent
a8aa4b8936
commit
ee5246de88
1 changed files with 5 additions and 5 deletions
|
@ -50,13 +50,13 @@
|
|||
|
||||
// Striped
|
||||
@if enable-classes {
|
||||
/* clean-css ignore:start */
|
||||
#{$parent-selector} table.striped {
|
||||
tbody tr:nth-child(odd of :not([hidden])) th,
|
||||
tbody tr:nth-child(odd of :not([hidden])) td {
|
||||
background-color: var(#{$css-var-prefix}table-row-stripped-background-color);
|
||||
tbody tr:is(:nth-child(odd of :not([hidden]))) {
|
||||
th,
|
||||
td {
|
||||
background-color: var(#{$css-var-prefix}table-row-stripped-background-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
/* clean-css ignore:end */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue