diff options
| author | “Ryder <“r@okfoc.us”> | 2016-03-29 16:59:10 -0400 |
|---|---|---|
| committer | “Ryder <“r@okfoc.us”> | 2016-03-29 16:59:10 -0400 |
| commit | 241c3bfe8e52db09d412fd40379121aa0f618917 (patch) | |
| tree | db85f66dcc78f262bf039070f79f91b3cf3260ae | |
| parent | d149a152b8995a18ef952519d4366707fce1d901 (diff) | |
testing up and down animations
| -rw-r--r-- | public/assets/ok.css | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/public/assets/ok.css b/public/assets/ok.css index f762d89..391a16a 100644 --- a/public/assets/ok.css +++ b/public/assets/ok.css @@ -48,6 +48,7 @@ body { position: absolute; top: 0; left: 0; + background:white; } h1 { @@ -368,22 +369,21 @@ nav b { .bottom { float: none; } -.bottom * { +.bottom *, .top { transform:translateY(0px); transition:150ms transform, 150ms opacity; transition-timing-function: cubic-bezier(0, 0, 0, 1); opacity:1; } -.showing .bottom > * { - transform:translateY(20px); - +.up .showing .bottom > *, .down .showing .top { + transform:translateY(40px); + opacity:0; } -.hiding .bottom > * { - transform:translateY(-20px); +.down .showing .bottom > *, .up .showing .top { + transform:translateY(-40px); opacity:0; - } /* Flickity */ @@ -563,9 +563,7 @@ ul li { } @media (min-width: 1300px) { - .bottom { - padding: 7px 0 8px 0; - } + .texts { font-size: 13px; line-height: 16px; |
