12px bằng bao nhiêu rem
Kết quả (rem)0.75rem
12px bằng 0.75rem (với font-size gốc 16px).
Cách tính
12 ÷ 16 = 0.75 remTính với font-size gốc mặc định của trình duyệt: `html { font-size: 16px; }`
Common px → rem conversions (base 16px)
| px | rem |
|---|---|
| 8px | 0.5rem |
| 12px ✓ | 0.75rem |
| 16px | 1rem |
| 20px | 1.25rem |
| 24px | 1.5rem |
| 32px | 2rem |
| 40px | 2.5rem |
| 48px | 3rem |
| 64px | 4rem |
Dùng công cụ chuyển đổi
ví dụ: "12px to rem"
Loading tool...