Quantcast
Channel: https – Gea-Suan Lin's BLOG
Viewing all articles
Browse latest Browse all 267

X (Twitter) 隱藏推文裡面連結中的 https:// 以及參數的方法

$
0
0

好像從某次 X (Twitter) 改版後就覺得奇怪,怎麼把 https:// 變小,designer 不會覺得很醜嗎:

(原推文在 https://x.com/hikki_staff/status/1872914498857869700 這邊)

剛剛想要自己下 usercss 把 font-size 調回來,才發現這邊的字型大小設定成 0.001px,馬上想到「這樣不是應該不會出現嗎」:

接著就想到我在瀏覽器裡面有額外設定 minimal font size,所以 font-size: 0.001px 被壓回 minimal font size 了,才導致看起來大小不同:

不曉得這樣設計的好處是什麼,不用 display: none; 可能是為了 SEO 或是 accessibility?因為現在的 bot 已經看得懂 display: none; 了?


Viewing all articles
Browse latest Browse all 267

Latest Images

Trending Articles