当我尝试更改价格颜色,botton颜色和标题字体样式时,但这不起作用。它没有改变任何东西。以及如何创建阴影
index.js index.js
panel.js第11行和第22行,尝试更改价格颜色
Botton.js第20行和第5-7行,尝试更改按钮颜色
Button.css button.css
您编写内联样式...
<Panel style={{color:'red'}}>
要么
<Panel className="sample">
在你的style.css文件中使用
.sample {
your style here....
}
要不然
<Panel className={styles.sample}>
然后在里面写你的风格
.sample{style here...}
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句