Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Organic animation #205

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/flipclock/css/flipclock.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
width: 100%;
height: 50%;
font-size: 80px;
overflow: hidden;
overflow: hidden;
outline: 1px solid transparent; }

.flip-clock-wrapper ul li a div .shadow {
Expand Down Expand Up @@ -259,9 +259,9 @@

.flip-clock-wrapper ul.play li.flip-clock-active .down {
z-index: 2;
-webkit-animation: turn 0.5s 0.5s linear both;
-moz-animation: turn 0.5s 0.5s linear both;
animation: turn 0.5s 0.5s linear both; }
-webkit-animation: turn .25s .5s linear both;
-moz-animation: turn .25s .5s linear both;
animation: turn .25s .5s linear both; }

@-webkit-keyframes turn {
0% {
Expand Down Expand Up @@ -293,9 +293,9 @@

.flip-clock-wrapper ul.play li.flip-clock-before .up {
z-index: 2;
-webkit-animation: turn2 0.5s linear both;
-moz-animation: turn2 0.5s linear both;
animation: turn2 0.5s linear both; }
-webkit-animation: turn2 .5s cubic-bezier(0.55, 0.055, 0.675, 0.19) both;
-moz-animation: turn2 .5s cubic-bezier(0.55, 0.055, 0.675, 0.19) both;
animation: turn2 .5s cubic-bezier(0.55, 0.055, 0.675, 0.19) both; }

@-webkit-keyframes turn2 {
0% {
Expand Down
4 changes: 2 additions & 2 deletions src/flipclock/css/flipclock.scss
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@

.flip-clock-wrapper ul.play li.flip-clock-active .down {
z-index: 2;
@include animation(turn .5s .5s linear both);
@include animation(turn .25s .5s linear both);
}

@include keyframes(turn) {
Expand All @@ -238,7 +238,7 @@

.flip-clock-wrapper ul.play li.flip-clock-before .up {
z-index: 2;
@include animation(turn2 .5s linear both);
@include animation(turn2 .5s cubic-bezier(0.55, 0.055, 0.675, 0.19) both);
}

@include keyframes(turn2) {
Expand Down