diff options
| author | “Ryder <“r@okfoc.us”> | 2016-03-28 20:34:22 -0400 |
|---|---|---|
| committer | “Ryder <“r@okfoc.us”> | 2016-03-28 20:34:22 -0400 |
| commit | 096ac0bf1925ff64e6895f8d1c552ba3a19b26c5 (patch) | |
| tree | 8b640975db045b34a51a9bd313b6c9c07a1bcec4 | |
| parent | ab1d8b224b0ca41e281b1a4d57d2c4aa36dc763c (diff) | |
nav animation
| -rw-r--r-- | public/assets/ok.css | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/public/assets/ok.css b/public/assets/ok.css index 3c3662b..426ede8 100644 --- a/public/assets/ok.css +++ b/public/assets/ok.css @@ -425,6 +425,18 @@ ul li { #burger { width: 22px; } + .index { + width: 10vw; + transition: 150ms width; + } + .index:after, + .navopen .index:after { + content: ""; + padding-right: 0; + } + .navopen .index { + width: 90vw; + } .menu { width: 90vw; transform: translateX(-90vw); @@ -432,6 +444,15 @@ ul li { .navopen .item { transform: translateX(90vw); } + nav span div:last-child { + transition: 150ms all; + } + .navopen nav span div:last-child { + transform: translateX(110px); + transition: 150ms all; + position: absolute; + right: 5px; + } .top { margin-top: 30px; } |
