Use better page transistions
This commit is contained in:
@@ -5,8 +5,10 @@
|
||||
transition: color .4s ease, background-color .4s ease, border-color .4s ease, box-shadow .4s ease;
|
||||
}
|
||||
|
||||
@view-transition {
|
||||
navigation: auto;
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
@view-transition {
|
||||
navigation: auto;
|
||||
}
|
||||
}
|
||||
|
||||
::view-transition-group(root) {
|
||||
|
||||
Reference in New Issue
Block a user