Replace a Sass variable with a CSS custom property - hover-transition (#10786)

This commit is contained in:
Suguru Hirahara 2023-05-22 07:40:40 +00:00 committed by GitHub
parent 74d30187a4
commit 2e3cb0adf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -34,6 +34,10 @@ limitations under the License.
transition: opacity 300ms ease;
}
:root {
--hover-transition: 0.08s cubic-bezier(0.46, 0.03, 0.52, 0.96); /* quadratic */
}
@keyframes mx--anim-pulse {
0% {
opacity: 1;