Zi 字媒體
2017-07-25T20:27:27+00:00
此篇文章瀏覽量:
593
div.test{
border:1px solid red;
width:60px;
height:50px;
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
-o-hyphens: auto;
hyphens: auto;
}
incredible 因為超過範圍寬度,所以會有連字符號的出現。在英文書寫時可用此範例。
如果要取消連字符:
div.test{
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
-o-hyphens: none;
hyphens: none;
}
若覺得文章有幫助,請多分享,讓其他同好也能吸收網站技能知識。
Facebook
Twitter
寫了
5860316篇文章,獲得
23313次喜歡