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

Parallel animation #13

Open
wants to merge 1 commit into
base: beta-3
Choose a base branch
from
Open

Conversation

lianee
Copy link
Contributor

@lianee lianee commented Aug 6, 2016

The sync flag allows in and out animations to happen simultaneously.

With some opposite effects (left/right, up/down), it is easy to have a slider (horizontal or vertical).

Notes:

  • As this works better with display:block, this PR needs the previous PR preserving css display mode (at least for the demo)
  • "sync" is perhaps not the best choice for the flag name, as it is more "simultaneous", "parallel" or "concurrent". Unfortunately, I couldn't think of any better "short" name.
  • Since elements are position: absolute, the parent needs to have some height. I set the height to those of the first element, there is a lot of room to improve this.

the sync flag allows in and out animations to happen simultaneously.
With some effects, it is easy to have a slider (horizontal or vertical).
Note: as this assumes the element is display:block, this PR needs the
previous change preserving css display mode.
@MrSaints
Copy link
Owner

MrSaints commented Nov 4, 2016

Sorry I haven't had time to look into this. It's a relatively big change. I'll try to look into it in the coming days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants