首页 > 解决方案 > 角度组件背景颜色

问题描述

大家好,我正面临整个页面背景颜色的问题,它没有显示背景颜色。

示例照片

*{
    background-color: #7395AE !important
}

代码结构

标签: htmlcssangularbackground-color

解决方案


尝试将此添加到css:

body{
  height: 100vh;
  width: 100vw;
  background: #7395AE;
}

推荐阅读