2014-02-10 131 views
0

边界半径不工作在Android的2.3.4边界半径的Android 2.3.4

示例不工作:

.radius5 { 
    -moz-border-radius: 50%; 
    -webkit-border-radius: 50%; 
    -khtml-border-radius: 50%; 
    border-radius: 50%; 
} 
+1

根据[我可以使用](http://caniuse.com/#search=border-radius),Android 2.3.4应该支持'border-radius'没有前缀。 –

+2

'Android浏览器2.3不支持边境radius.' – Vucko

+0

感谢詹姆斯百分比值。但Android原生的浏览器不支持...... –

回答

0

1 - 使用Opera Mini的
2 - 尽量让半径与像素( 1像素)或EMS(1EM)

+2

这是不是真正的解决方案,你不能强迫人们使用其他浏览器。然而,第二种选择是正确的。 –

0

是有这一个问题:check here, and click on known issues.

这里是这样说的:

1. Android Browser 2.3 does not support % value for border-radius. 

2. Border-radius does not work on fieldset elements in IE9. 

3. The stock browser on the Samsung Galaxy S4 with Android 4.2 does not support the "border-radius" shorthand property but does support the long-hand properties for each corner like "border-top-left-radius". 
1

所述问题here(此后由Armarnath Balasubramani)有效。

但是继承人你可以做什么快速修复! :)

 


    #circle { 
     border-radius: 9999px; /* the css3 circle */ 
    }