为了账号安全,请及时绑定邮箱和手机立即绑定

使用渐变颜色的图片做背景显示异常如图1,使用纯色的图片则是正常的,求大神看下是什么原因

使用渐变颜色的图片做背景显示异常如图1,使用纯色的图片则是正常的,求大神看下是什么原因

jugge 2017-04-07 09:37:22
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta http-equiv='X-UA-Compatible' content="IE=edge"> <title>Safety-Inxs</title> <style type="text/css"> html,body{ margin: 0; padding: 0; background: url(img/QQ.png) no-repeat; } div{ margin: 100px; background: none; } </style> </head> <body> <div class="ui-content"> <div class="ui-avator" style="width: 200px;height: 200px;border: none;outline: none;"> <div style="width: 100px;height: 100px;background: orange;margin: 10px auto;"></div> </div> </div> </body> </html>
查看完整描述

2 回答

?
学习js

TA贡献85条经验 获得超55个赞

原谅看不出来哪有异常

查看完整回答
反对 回复 2017-04-07
  • jugge
    jugge
    就是画红线的区域,和红线外的颜色,看着明显不一样,
  • 2 回答
  • 0 关注
  • 2101 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信