使用 CSS 的 aspect-ratio 和 width 属性进行实验。
你好
宽高比和宽度
width
宽高比宽度数值
宽高比高度数值
width: 70px;
aspect-ratio: 1/1;