mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-25 18:55:44 +03:00
Subtle peekaboo header for the scroll-driven
This commit is contained in:
parent
d9dab6b5ee
commit
706f3f0cc8
1 changed files with 17 additions and 0 deletions
17
src/app.css
17
src/app.css
|
@ -1954,9 +1954,26 @@ meter.donut[hidden] {
|
||||||
|
|
||||||
/* ACCOUNT STATUSES */
|
/* ACCOUNT STATUSES */
|
||||||
|
|
||||||
|
@keyframes peekaboo-header {
|
||||||
|
from {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(10%);
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.header-account {
|
.header-account {
|
||||||
font-size: 90% !important;
|
font-size: 90% !important;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
@supports (animation-timeline: scroll()) {
|
||||||
|
animation: peekaboo-header 1s linear both;
|
||||||
|
animation-timeline: scroll();
|
||||||
|
animation-range: 0 150px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.header-account div {
|
.header-account div {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
|
Loading…
Reference in a new issue