mirror of
https://github.com/picocss/pico.git
synced 2025-04-27 11:36:14 -04:00
Optional use of !Important in variables
This commit is contained in:
parent
6f260e9b74
commit
15aecaa674
11 changed files with 57 additions and 46 deletions
|
@ -1,4 +1,4 @@
|
|||
@if $enable-transitions {
|
||||
@if $enable-transitions and $enable-important {
|
||||
|
||||
/**
|
||||
* Reduce Motion Features
|
||||
|
@ -17,13 +17,13 @@
|
|||
*,
|
||||
::before,
|
||||
::after {
|
||||
background-attachment: initial; // 2
|
||||
animation-duration: 1ms; // 1
|
||||
animation-delay: -1ms; // 1
|
||||
animation-iteration-count: 1; // 1
|
||||
scroll-behavior: auto; // 3
|
||||
transition-delay: 0s; // 4
|
||||
transition-duration: 0s; // 4
|
||||
background-attachment: initial !important; // 2
|
||||
animation-duration: 1ms !important; // 1
|
||||
animation-delay: -1ms !important; // 1
|
||||
animation-iteration-count: 1 !important; // 1
|
||||
scroll-behavior: auto !important; // 3
|
||||
transition-delay: 0s !important; // 4
|
||||
transition-duration: 0s !important; // 4
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue