Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改金币动画调用方式。确保css检测不会报错。 #518

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dabaii
Copy link

@dabaii dabaii commented Jul 5, 2022

这种写法在编辑器语法检测会认为是和预期不符。
//at-rule or selector expectedless(css-ruleorselectorexpected)

@keyframes rotateMoney {
  .addMoneyFrame(8, 15);
}

修改为 Detached Rulesets 方式调用

@frameContent: {
  .addMoneyFrame(8, 15);
};

@keyframes rotateMoney {
  @frameContent();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant