Search Support

Beware of phishing attacks: Mozilla will never ask you to call a number or visit a non-Mozilla website. Please ignore such requests.

Learn More

Firefox 78: hide urlbar placeholder text

  • 2 fhreagra
  • 1 leis an bhfadhb seo
  • 17 views
  • Freagra is déanaí ó Yaron

more options

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

Thank you.

Réiteach roghnaithe

You can use code like this:

/* URLBAR - placeholder */
#urlbar *|input::placeholder {opacity:.1 !important;}
#urlbar *|input:focus::placeholder {opacity:0 !important}
Read this answer in context 👍 1

All Replies (2)

more options

Réiteach Roghnaithe

You can use code like this:

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

Helpful?

more options

cor-el,

Great. Thank you.

Helpful?

Cuir ceist

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.