當我最小化我的應用程式時,出現空白,我想改變那個顏色,我不喜歡白色,我想要黑色
底部有一個空格
它不屬于我的正文或頁眉或頁腳的空白部分,我的問題是,我該如何更改顏色?
這有效,但只是在這樣的導航器中
只是我寫了背景顏色:
*, ::after, ::before {
box-sizing: border-box;
background-color: black;
}
這是我在 vuejs3 中的代碼 App.js(順便說一句不起作用)
<template>
<div id="app" class="app">
<LayoutDefault >
<router-view class="content" />
</LayoutDefault>
</div>
</template>
...
<style scoped>
.content {
height: 100%;
min-height: 700px;
background-color: black !important;
}
body {
background-color: #000 !important;
min-height: 100vh !important;
background-color: black !important;
}
.app {
background-color: black !important;
}
</style>
uj5u.com熱心網友回復:
我想沒有選項可以跟蹤 css 中的縮放變化。您可以通過設定解決問題
body {
background-color: #000;
min-height: 100vh;
}
uj5u.com熱心網友回復:
您可以嘗試將這個背景賦予身體本身。我認為這就足夠了。但是如果你展示你的代碼,你會得到更好的答案。
轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/462399.html
上一篇:清空值不會回傳原始過濾選項
