Ral*_*ouf 0 html css php browser google-chrome
我发现了Jquery角落不适用于Chrome的可爱发现.任何解决方案?
我只是弄清楚当我转动我的config.js文件时(圆角函数):
$(document).ready( function(){
if(navigator.appName!="Microsoft Internet Explorer") {
$('.round_10px').corners("10px");
$('.bottom_round_10px').corners("10px bottom-left 10px bottom-right");
$('.bottom_l_round_10px').corners("10px bottom-left");
$('.bottom_r_round_10px').corners("10px bottom-right");
$('.bottom_top_l_round_10px').corners("10px top-left 10px bottom-left");
$('.bottom_top_r_round_10px').corners("10px top-right 10px bottom-right");
$('.round_40px').corners("40px");
}
Run Code Online (Sandbox Code Playgroud)
我的网站看起来应该如何......所以除了为Chrome关闭之外,任何已知的解决方法都可以解决这个问题吗?
我很确定,-webkit-border-radius因为它是一个基于webkit的浏览器,所以肯定会在Chrome上运行.
当你说"jQuery corner"时,我无法知道你指的是哪个特定的插件,但据我所知,他们中的大多数通过使用针对FF(-moz-border-radius)和webkit(-webkit-border-radius)的引擎特定样式来实现圆角.IE的边框+ trig.也就是说,假设任务是在不使用外部资源(图像)的情况下制作圆角.