html - css线性渐变背景在移动ios safari中显示为空白
问题描述
背景线性渐变是浅蓝色到深蓝色。这在桌面 ios safari 中正确显示,但在移动 ios safari 中,渐变缺少背景白色。
body {
font-family: source-sans-pro;
background: -webkit-linear-gradient(left top, right top, from(#2ce9fd), to(#5581ec));
background: -webkit-linear-gradient(left, #2ce9fd, #5581ec);
background: -moz-linear-gradient(left, #2ce9fd, #5581ec);
background: -ms-linear-gradient(left, #2ce9fd, #5581ec);
background: -o-linear-gradient(left, #2ce9fd, #5581ec);
background: linear-gradient(90deg, rgba(44, 233, 253,1) 20.5625%,rgba(44, 232, 252,1) 20.5625%,rgba(85, 129, 236,1) 80.5625%);
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
font-style: normal;
font-weight: 200;}
解决方案
推荐阅读
- javascript - 在 mongo 响应 JSON 中添加 Array 对象
- android - 为自定义插件上传发布插件时出错
- node.js - 如何在节点 API 中发送 res.json 最终响应
- c# - 在方法覆盖中访问字典项
- html - 如何使用 XPath 选择父节点?
- ios - 设备检查 API:错误:无法验证授权令牌
- reactjs - TS2769 类型错误,字符串不可分配给 Channel<{ payload: any; }> 在 sagas.ts 更新后
- javascript - 我附加的 HTML 没有运行当前的 jQuery 代码
- python - 想要使用 openpyxl 将工作表从一个工作簿添加到另一个工作簿
- typescript - 如何在 TypeScript 中定义新类型