[英]How to transform css code to have support in Safari , Opera and Chrome?
I have this style in CSS for a DIV: 我在CSS中有这种样式用于DIV:
background: repeating-linear-gradient(-55deg, #F00, #F00 10px, #F00 10px, #FFF 11px) repeat scroll 0% 0% transparent
The problem is that the style only works with mozilla and IE , and I need to work with safari, opera and chrome . 问题在于该样式仅适用于mozilla和IE,而我需要使用safari,opera和chrome。
From Mozilla Developer Network 来自Mozilla开发人员网络
Gecko, Opera & Webkit considers to start to the right, instead of the top. Gecko,Opera和Webkit认为从右开始,而不是从顶部开始。 Ie it considered an angle of 0deg as a direction indicator pointing to the right. 即,它认为0度角是指向右边的方向指示器。 This is different from the latest specification where an angle of 0deg as a direction indicator points to the top. 这与最新规范不同,在最新规范中,0度角作为方向指示器指向顶部。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.