aspect-ratio thuộc tính giúp tạo hình vuông tuyệt đối square (ok)

.aspect-square {
  aspect-ratio: 1;
}

Chú ý: Trong tailwind sử dụng aspect-square

Last updated

Was this helpful?