mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-blog.git
synced 2026-07-03 15:41:26 +00:00
added animation to postnav
This commit is contained in:
parent
d9ae38197c
commit
fabe058bfe
1 changed files with 8 additions and 0 deletions
|
|
@ -89,6 +89,14 @@ const nextSlug = nextPost ? getSlugFromId(nextPost.id) : null;
|
|||
.post-nav-next {
|
||||
text-align: right;
|
||||
}
|
||||
.post-nav-title {
|
||||
display: inline-block;
|
||||
transition: transform 0.18s ease;
|
||||
}
|
||||
|
||||
.post-nav a:hover .post-nav-title {
|
||||
transform: scale(1.04);
|
||||
}
|
||||
|
||||
.post-nav a {
|
||||
display: block;
|
||||
|
|
|
|||
Loading…
Reference in a new issue