matype/stylefmt

Fix bad formatting of keyframes

Opened this issue · 0 comments

Given:

@keyframes turn {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

Run stylefmt to get:

@keyframes turn {
  0% {    transform: rotate(0deg);
  }

  100% {    transform: rotate(360deg);
  }
}

Expect to get:

@keyframes turn {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}