microsoft / vscode-css-languageservice

CSS, LESS & SCSS language service extracted from VSCode to be reused, e.g in the Monaco editor.
MIT License
312 stars 176 forks source link

add support for `<timeline-range-name>` in `@keyframes` #355

Closed romainmenke closed 11 months ago

romainmenke commented 1 year ago

see : https://www.w3.org/TR/scroll-animations-1/#named-range-keyframes

With scroll driven animations, @keyframes rules can now look like this :

@keyframes {
  cover 50% {
    color: purple;
  }
}
<keyframe-selector> = from | to | <percentage [0,100]> | <timeline-range-name> <percentage>
aeschli commented 11 months ago

Thanks a lot!