Created
November 16, 2014 10:20
-
-
Save if540/7815c2ed0372c509f43c to your computer and use it in GitHub Desktop.
中文網頁排版 - 段落最佳設定
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 適當閱讀行距 | |
line-height: 1.7em; | |
// 齊左右 | |
text-align: justify; | |
text-justify: ideographic; | |
// 利用 text-indent 做到首段空兩隔空白 | |
margin: 0; | |
text-indent: 2em; | |
// 網頁呈現上,段落之間加上空白 | |
margin-bottom: 0.5em; | |
// 強制對齊,但有缺點是英文字會被強制切開 & 無視避頭點規則,讓逗號、句號出現在行頭。 | |
word-break: break-all; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment