Jackardios / css-to-tailwindcss

Convert CSS to TailwindCSS 3.x
MIT License
114 stars 14 forks source link

@keyframes selectors are breaking the converter #7

Open guivr opened 1 year ago

guivr commented 1 year ago

Current Behavior

The converter is currently breaking when trying to convert any CSS code that contains @keyframes:

@keyframes test {
  50% {
    opacity: 1;
  }
}

... normal CSS here

It tries to convert 50% thinking it's a selector, then it breaks with Unmatched selector: %

Expected Behavior

For now, it could ignore and don't convert @keyframes (because it's currently breaking the whole CSS conversion instead)

ChampionL commented 6 months ago

it's solved now?