css-less-scssfeature-requesthelp wanted
仓库指标
- Star
- (74,848 star)
- PR 合并指标
- (平均合并 11小时 43分钟) (30 天内合并 1,000 个 PR)
描述
SVG 2 introduces the possibility of setting SVG properties in CSS (see CSS Tricks' post under "Element-specific properties -> "Positioning SVG elements"). This means this example should be valid:
circle {
r: 2;
cx: 10;
cy: 100;
}
path {
d: 'L0 100';
}
However, these properties trigger the s?css(unknownProperties) warning:

I'm not too familiar with VS Code's insides and what program checks for valid properties. If this belongs somewhere else, I'd be happy to re-issue there.
Thanks! ✨