[英]repeating-linear-gradient not working in Edge browser and internet Explorer Browser
I am making a project.我正在做一个项目。 I am using
repeating-linear-gradient
on my website for style.我在我的网站上使用
repeating-linear-gradient
的样式。
I am use below style(CSS) for the style:我使用以下样式(CSS)作为样式:
background: repeating-linear-gradient(45deg,#74C374 12px 15px,#5CB85C 10px 20px) 0 0/100% 100% no-repeat;
background-size: 4% 100%;
Using above css I am generation this style:使用上面的 css 我生成这种样式:
Above style is working fine in Chrome browser but not in Internet Explorer browser and Edge browse以上样式在 Chrome 浏览器中工作正常,但在 Internet Explorer 浏览器和 Edge 浏览器中无效
Apply this and check应用此并检查
background-size: 4% 100%;
background-repeat: no-repeat;
background-image: repeating-linear-gradient(45deg, #74C374, #74C374 5px, #5CB85C 5px, #5CB85C 10px);
background-image: repeating-linear-gradient(45deg, #74C374 12px 15px, #5CB85C 10px 20px);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.