Update css
parent
36d31f6158
commit
44f5424597
15
css.md
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
|
||||
}
|
||||
}
|
||||
`
|
||||
}
|
||||
|
||||
```
|
Loading…
Reference in New Issue