Update css

master
yutent 2023-09-22 09:36:17 +08:00
parent 36d31f6158
commit 44f5424597
1 changed files with 15 additions and 0 deletions

15
css.md

@ -18,4 +18,19 @@ class Foo extends Component {
`
}
class Foo extends Component {
// 注意, 这里如果用 scss 语法, 需要使用wkit配套的构建工具来编译
static styles = css`
.foo {
color: red
.bar {
color: blue
}
}
`
}
```