.container-login100 {
width: 100%;
min-height: 100vh;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
padding: 15px;
background: #9053c7;
background: -webkit-linear-gradient(-135deg, #c850c0, #4158d0);
background: -o-linear-gradient(-135deg, #c850c0, #4158d0);
background: -moz-linear-gradient(-135deg, #c850c0, #4158d0);
background: linear-gradient(-135deg, #c850c0, #4158d0);
}
我试图在 CSS 中禁用背景线性渐变,但它在我调试时一直出现。我试过删除它们仍然不起作用。
只为我禁用浏览器。
最佳答案
请使用您的 css 文件中的代码 > 保存它。
.container-login100 { background: none !important; }
如果您正在使用任何缓存插件或任何创建缓存的东西,请正确禁用您的缓存。 如果您的缓存存在,则代码可能无法实现。
关于css - 如何在 CSS 中禁用背景线性渐变,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49608013/