postcss-inline-rtl icon indicating copy to clipboard operation
postcss-inline-rtl copied to clipboard

Issue with animation-fill-mode: forwards;

Open justinmwarner opened this issue 7 years ago • 0 comments

I have the following SCSS:

    .greyBar {
        background-color: grey;
        animation: revealAnimation 2s linear;
        animation-fill-mode: forwards;
    }
    @keyframes revealAnimation {
        to {
            width: 0px;
            margin-left: 150px;
        }
    }

This works without the postcss-inline-rtl.

However, once added, it compiles down to image

You'll see that animation-fill-mode is now initial.

I see two problems here though.

  1. The animation-fill-mode is getting changed incorrectly.
  2. The loader does't have any way to skip items. And I think this could be argued, but it would be nice to have an option to use the ignore autoprefixer tag. https://github.com/postcss/autoprefixer#control-comments

justinmwarner avatar Jan 25 '18 17:01 justinmwarner