camel 's blog

text-ellipsis

[css] text-ellipsis 的 … 垂直置中或置底

2019-11-142020-03-09 a556622822 Leave a comment css

前一陣子在使用 text-ellipsis 發現有時是 …. 有時卻是 。。。 原來是因為字型的不同 orz 英文會是 …. 中文字型會是 。。。 因此若要在 inline, block 的元素中使用不同的省略字元 可以更改相對應的 font-family (中英) 即可

Continue reading


Search for:

camel2243

No pain, no gain......

人總是要把自己逼到牆角才能突破自己

Recent Comments

  • My Homepage on [HTML] script 資源載入,async、defer 與 integrity
  • fada on [javascript] 陣列與物件,delete與splice差異
  • angiechen1128 on [wordpress] 中文網址錯誤或亂碼,404 not found
  • aditya on [javascript] hoisting 解析與說明
  • resource on [ubuntu] rsync 用法及備份教學

Categories

  • Android
  • angular
  • apache
  • cache
  • centOS
  • chrome
  • css
  • DNS
  • elasticsearch
  • express
  • firefox
  • gcloud
  • git
  • html
  • http
  • irc
  • javascript
  • linux
  • mac
  • mysql
  • nginx
  • nodejs
  • npm
  • php
  • pietty
  • security
  • test
  • ubuntu
  • virtualbox
  • vscode
  • wargame
  • webpack
  • wordpress
  • 未分類
Theme by Colorlib Powered by WordPress