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

[feature request] expand animation and transition shorthands #11

Open
bartveneman opened this issue Dec 12, 2019 · 0 comments
Open

[feature request] expand animation and transition shorthands #11

bartveneman opened this issue Dec 12, 2019 · 0 comments

Comments

@bartveneman
Copy link

This is a feature request to expand the following values:

Transitions

/* property name | duration */
transition: margin-right 4s;

/* property name | duration | delay */
transition: margin-right 4s 1s;

/* property name | duration | timing function */
transition: margin-right 4s ease-in-out;

/* property name | duration | timing function | delay */
transition: margin-right 4s ease-in-out 1s;

/* Apply to 2 properties */
transition: margin-right 4s, color 1s;

/* Apply to all changed properties */
transition: all 0.5s ease-out;

Source: https://developer.mozilla.org/en-US/docs/Web/CSS/transition

Animations

/* @keyframes duration | timing-function | delay | iteration-count | direction | fill-mode | play-state | name */
animation: 3s ease-in 1s 2 reverse both paused slidein;

/* @keyframes duration | timing-function | delay | name */
animation: 3s linear 1s slidein;

/* @keyframes duration | name */
animation: 3s slidein;

Source: https://developer.mozilla.org/en-US/docs/Web/CSS/animation

Spec: https://drafts.csswg.org/css-animations/#animation

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

No branches or pull requests

1 participant