使用CSS平复选框

问题描述 投票:1回答:1

我需要平坦和风格CheckBox在我的aspx页面。我用下面的CSS代码。但没有发生。

input[type="checkbox"]
{
    border: 1px solid #ccc;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px; 
}

我怎样才能解决这个问题?

css css3 checkbox stylesheet
1个回答
0
投票

没有可靠的跨浏览器的方式来样式复选框,单选按钮或选择字段,所以最好的结果是通过使用图像的创造风格元素的幻想来实现的。一个简单的网上搜索“病急乱投医复选框”将为您提供大量的样品。

您可能还需要看一看this post

© www.soinside.com 2019 - 2024. All rights reserved.