搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Firefox 78: hide urlbar placeholder text

  • 2 回覆
  • 1 有這個問題
  • 29 次檢視
  • 最近回覆由 Yaron

more options

What's the CSS rule for hiding the urlbar placeholder text?

Thank you.

What's the CSS rule for hiding the urlbar placeholder text? Thank you.

被選擇的解決方法

You can use code like this:

/* URLBAR - placeholder */
#urlbar *|input::placeholder {opacity:.1 !important;}
#urlbar *|input:focus::placeholder {opacity:0 !important}
從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

You can use code like this:

/* URLBAR - placeholder */
#urlbar *|input::placeholder {opacity:.1 !important;}
#urlbar *|input:focus::placeholder {opacity:0 !important}
more options

cor-el,

Great. Thank you.