简体   繁体   中英

How to disable background linear gradient in CSS

.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);
}

I'm trying to disable background linear gradient in CSS but it keep appear when I debugging. I tried deleted them still doesn't work.

Only disable from browser work for me.

Browser Developer Tools
浏览器开发人员工具

Please use the code in your css file > save it.

.container-login100 { background: none !important; }

If you're using any cache plugin or anything which creates cache then please disable your cache properly. If your cache is there then the code might not be implemented.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM