添加!important
您CSS不想在每一處移除半徑
小提琴:http://jsfiddle.net/ettmujvg/20/
周
的CSS:
body {
background-color:#444444;
}
.panel{
border-radius: 0 !important; // <--- HERE
}
.btn {
border-radius: 0 !important; // <--- HERE
font-size:25px;
padding:0;
}
.btntext{
padding:0;
font-size:14px !important;
font-weight:bold;
}
.btn-default {
color:black !important;
}
.btn-custom {
width: 100px !important;
margin-top:0px !important;
background-image:linear-gradient(to right, #FFF 0px, #E0E0E0 100%) !important;
}
.btn-custom a{
color:#333 !important;
}
.pHeader-panel {
margin-bottom : 0px;
height:25px;
text-align:center;
background-image:linear-gradient(to left, #FFF 0px, #E0E0E0 100%) !important;
}
.panel-heading {
background-image:linear-gradient(to top, #FFF 0px, #E0E0E0 100%) !important;
}
.panel-title {
height:8px !important;
}
#pHeader
{
position: fixed;
width: 100%;
top:0px;
}
#pLeftMenu {
position: fixed;
top: 25px;
}
#pBody {
margin-top:30px;
margin-left:105px;
padding-right:8px;
}
#halfHorizontalPanel {
margin-left:0px;
margin-right:0px;
background-color:white;
border:1px solid;
min-height:300px;
}
#lefthalfHorizontalPanel{
margin:8px 0px;
margin-right:0px;
width:49.5%;
background-color:white;
border:1px solid;
min-height:290px;
float:left;
}
#righthalfHorizontalPanel{
margin:8px 0px;
width:49.5%;
background-color:white;
border:1px solid;
min-height:290px;
float:right;
}
.btn-group-vertical-custom
{
margin-top:0px !important;
}
.tbl-stair {
border:1px solid;
}
這些按鈕可能位於容器中,該容器仍具有一些邊界半徑。也刪除該邊界半徑! – Andi 2014-11-21 15:06:46
對於面板文本,設置與面板高度相等的行高。 – Andi 2014-11-21 15:07:27
我不知道爲什麼會發生這種情況,但我會使用