2

如何使用 css 将弯角添加到 gwt 复选框?

.gwt-CheckBox {
    border-radius: 5px 5px 5px 5px;
}

这不起作用!!!!

我也试过这个。但没有变化。

.gwt-CheckBox > input {
    border-radius: 5px 5px 5px 5px;
}
4

1 回答 1

3

拼写检查 -border-redius must be border-radius 通过 CSS 的复选框的弧形角仅适用于 firefox/chrome 而不是 IE8 浏览器。

你在哪个浏览器上测试?除了 IE 之外,其他人可以根据您的浏览器尝试 -moz-border-radius 或 -webkit-border-radius 等。

参考链接获取 IE 信息- 支持 IE 中的“border-radius”

于 2012-11-27T08:25:51.250 回答