5.如何让CSS只在当前组件中起作用

如何让css样式只在当前组件起作用?

 

当前组件<style>写成<style  scoped>

posted @ 2020-08-13 20:43  大牛半路出家  阅读(1896)  评论(0)    收藏  举报