Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前在 Playbook 上的 Phonegap 应用程序有问题。它由一个按钮和一个在屏幕上移动的圆圈组成。圆圈是带有黑色边框的,但剧本将其渲染为红色方块。有谁知道如何解决这个问题?我尝试更改图像类型并添加背景颜色标签,但这不起作用。
您可以使用具有 css 3 属性的简单 div 创建一个没有图像的简单圆圈。
background: red; width: 10em; height: 10em; -moz-border-radius: 5em; -webkit-border-radius: 5em; border: solid 1px #000; border-radius: 5em;