我正在做一个基本的div
分,由于某种特殊的原因,border-radius: 7px
不适用于它.
.panel {
float: right;
width: 120px;
height: auto;
background: #fff;
border-radius: 7px; // not working
}
我正在做一个基本的div
分,由于某种特殊的原因,border-radius: 7px
不适用于它.
.panel {
float: right;
width: 120px;
height: auto;
background: #fff;
border-radius: 7px; // not working
}
给任何可能有这个问题的人.我的问题是边境崩溃.设定为:
border-collapse: collapse;
我将其设置为:
border-collapse: separate;
它解决了这个问题.