mirror of
https://github.com/picocss/pico.git
synced 2025-04-29 12:29:13 -04:00
feat: optional parent selector
This commit is contained in:
parent
9ea68c42e0
commit
ef2100499b
32 changed files with 295 additions and 277 deletions
|
@ -15,9 +15,9 @@
|
|||
// 3. Remove timed scrolling behaviors when motion is reduced (opinionated)
|
||||
// 4. Remove transitions when motion is reduced (opinionated)
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*:not([aria-busy="true"]),
|
||||
:not([aria-busy="true"])::before,
|
||||
:not([aria-busy="true"])::after {
|
||||
#{$parent-selector} *:not([aria-busy="true"]),
|
||||
#{$parent-selector} :not([aria-busy="true"])::before,
|
||||
#{$parent-selector} :not([aria-busy="true"])::after {
|
||||
background-attachment: initial !important; // 2
|
||||
animation-duration: 1ms !important; // 1
|
||||
animation-delay: -1ms !important; // 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue