解决CSS中background属性同时设置背景图片和渐变色冲突的问题 background: url(./img/Bitmap.png) right top no-repeat,linear-gradient(225deg,rgba(0,137,80,1) 0%,rgba(0,137,81,1) 50%,rgba(0,130,72,1) 100%); 注意linear-gradient必须放置在最后才能生效