feat: add view transition CSS rule
This commit is contained in:
parent
04ec6b61c6
commit
236bc76d12
2 changed files with 5 additions and 2 deletions
|
|
@ -20,8 +20,6 @@
|
|||
<meta name="format-detection" content="telephone=no" />
|
||||
<!-- supports both dark and light color schemes, page author prefers light as default. -->
|
||||
<meta name="color-scheme" content="light dark" />
|
||||
<!-- activates page transitions -->
|
||||
<meta name="view-transition" content="same-origin" />
|
||||
<!-- Helps prevent duplicate content issues -->
|
||||
<link rel="canonical" href="{{ meta.url }}{{ page.url }}" />
|
||||
<!-- Links to information about the author(s) of the document -->
|
||||
|
|
|
|||
|
|
@ -151,3 +151,8 @@ html:has(dialog[open]:modal) {
|
|||
transition-duration: 0.01ms !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* View transition */
|
||||
@view-transition {
|
||||
navigation: auto;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue