我有一个原始样式的 div
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
width: 16px;
height: 16px;
box-sizing: border-box;
border: solid 1px #cfcfcf;
和:after它上面的伪元素
content: '';
display: flex;
width: 14px;
height: 14px;
background: #3fcaca;
border-radius: 50%;
但是这样的 div 在不同的屏幕区域看起来会有所不同。浏览器缩放为 100%
我正在使用 15 英寸全高清屏幕和窗口放大,这显然是原因。有没有办法通过一些 CSS 调整来解决这些问题?
