vue給單獨頁面添加背景顏色

vue 單獨設置背景顏色的方法是在template下的子div上添加樣式html <template> <div class="htmlBox"> <div></div> </div> </template> 給style添加一個scoped表示當前樣式只給當前頁面設置。vue 例如:web <style scoped> .htmlBox >>> div { backg
相關文章
相關標籤/搜索