vue给单独页面添加背景颜色

vue 单独设置背景颜色的方法是在template下的子div上添加样式html <template> <div class="htmlBox"> <div></div> </div> </template> 给style添加一个scoped表示当前样式只给当前页面设置。vue 例如:web <style scoped> .htmlBox >>> div { backg
相关文章
相关标签/搜索