我有多个圆形,使用以下CSS生成:
.map-circle {
position: absolute;
cursor: pointer;
border-radius: 50%;
width: 5px;
height: 5px;
z-index: 999;
background-color: red;
}
由于某些原因,当我将该圆形放大到一个较大的数字时,在Chrome浏览器中,该圆形并不保持完美:
.map-circle {
transform: matrix(10, 0, 0, 10, 0, 0);
}
.map-circle {
position: absolute;
left:50px;
top:50px;
cursor: pointer;
border-radius: 50%;
width: 5px;
height: 5px;
z-index: 999;
background-color: red;
transform: matrix(10, 0, 0, 10, 0, 0);
}
<div class="map-circle"></div>
![enter image description here](https://istack.dev59.com/G91FX.webp)