【问题标题】:Bug with css semicircle in android native browserandroid本机浏览器中的css半圆错误
【发布时间】:2014-11-24 23:06:40
【问题描述】:

我想用 css 干燥半圆。在所有其他浏览器中它运行良好,但在 Android 原生浏览器中它看起来像这样:

https://pp.vk.me/c540102/c617716/v617716567/1a373/HP4yReINnwg.jpg

div {
    width: 56px;
    height: 30px;
    border-radius: 56px 56px 0px 0px;
    background: green;
    background: #7ed035;
}

这是 jsfiddle 中的代码: http://jsfiddle.net/ewz7us6r/1/

【问题讨论】:

  • 你的回答有帮助吗?

标签: html css android-browser


【解决方案1】:

尝试独立声明它们,即;

border-top-left-radius: 56px;
border-top-right-radius: 56px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;

因为它可能与这个border-radius not working in modern native Android browser有关

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-04-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-05-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多