Máy tính
Công cụ tính chiều cao dòng
Pick a sensible leading for any font size.
Ghi chú của biên tập viên
Understanding · The unitless multiplier that decides if text breathes.
Chương phân tích chuyên sâu này hiện chỉ có sẵn bằng tiếng Anh. Công cụ chuyển đổi ở trên hoạt động bằng ngôn ngữ của bạn; bài viết giải thích dài chưa được dịch.
Các câu hỏi thường gặp
Quick answers.
›What is the ideal line height for body text?
For most web fonts, a ratio between 1.4 and 1.6 is considered optimal for readability. This provides enough breathing room for the eyes to track from the end of one line to the start of the next.
›How does font size affect the ratio?
Larger text, such as headings, typically requires a tighter relative line height (around 1.1 to 1.2) because the sheer scale of the glyphs creates its own visual spacing. Smaller text benefit from a looser ratio to prevent lines from crowding.
›What units should I use in my CSS?
Using unitless values like `line-height: 1.5` is recommended in CSS as it allows the height to scale proportionally if the font size changes. Our calculator provides these unitless equivalents as decimal values.
›Are the calculations stored anywhere?
No. All calculations are performed instantly by your browser's execution engine and are not logged or transmitted to our servers.
Mọi người cũng tìm kiếm
Bài viết liên quan
Từ blog.(1)
Công cụ liên quan
More in this room.
- Bộ Chuyển Đổi Kích Thước Phông Chữpx ↔ rem ↔ em ↔ pt ↔ % — chuyển đổi tức thì.
- Công cụ tính khoảng cách chữĐiều chỉnh khoảng cách ký tự hợp lý cho mọi kích thước và kiểu chữ.
- Bộ Chuyển Đổi Tiền TệTỷ giá hối đoái thời gian thực cho hơn 30 loại tiền tệ trên thế giới — miễn phí.
- Bộ Chuyển Đổi Tiền Mã HóaGiá Bitcoin, Ethereum và các đồng tiền hàng đầu theo thời gian thực.
- Công Cụ Tính Tiền TipChia hóa đơn và tính tiền tip cho mỗi người.
- Công Cụ Tính VAT / GST / Thuế Bán HàngThêm hoặc bớt VAT, GST hoặc thuế bán hàng — bất kỳ tỷ lệ nào.