有需求要做小圓點(diǎn)孔轴,我初始寫法如下
.point{
width: 0.08rem;
height: 0.08rem;
position: absolute;
right: 0;
top: 0;
background: #FD3509;
border-radius: 50%;
}
瀏覽器上無問題剃法,真機(jī)實(shí)測發(fā)現(xiàn)小圓點(diǎn)變成了小方點(diǎn),后改為如下
.point{
width: 0.08rem;
height: 0.08rem;
border: 0.01rem solid #FD3509;
position: absolute;
right: 0;
top: 0rem;
background: #FD3509;
border-radius: 50%;
z-index: 1;
}
增加border屬性