Skip to content

PostCSS plugin that joins conflicting transition declarations.

License

Notifications You must be signed in to change notification settings

JGJP/postcss-join-transitions

Repository files navigation

PostCSS Merge Transitions Build Status

PostCSS plugin that joins conflicting transition declarations.

Input:

.foo {
  transition: opacity .3s ease;
  transition: transform .3s ease;
  -webkit-transition: opacity .3s ease;
  -webkit-transition: transform .3s ease;
}

Output:

.foo {
  transition: opacity .3s ease, transform .3s ease;
  -webkit-transition: opacity .3s ease, transform .3s ease;
}

Usage

postcss([ require('postcss-join-transitions') ])

See PostCSS docs for examples for your environment.

About

PostCSS plugin that joins conflicting transition declarations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published