Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

What code do I need to edit to change the long press color (orange) to one that works better with my website?

  • 4 respostas
  • 5 têm este problema
  • 6 visualizações
  • Última resposta de m_vance

more options

I am building a custom website for a client to be used exclusively for Firefox on an Android tablet. When a link is long pressed, its background color always turns to the Mozilla orange. This color goes against the client's palette and looks out of place. Is there CSS code to manipulate to alter this color state?

I am building a custom website for a client to be used exclusively for Firefox on an Android tablet. When a link is long pressed, its background color always turns to the Mozilla orange. This color goes against the client's palette and looks out of place. Is there CSS code to manipulate to alter this color state?

Todas as respostas (4)

more options

Website designers cannot change the focus ring color.

more options

Is there another way to change or remove the focus ring color (besides CSS) ?

more options

I believe

   -moz-user-select:-moz-none

will give you the behavior you want.

https://developer.mozilla.org/en-US/docs/CSS/user-select

more options

Unfortunately, this does not work either.

The -webkit version of this works in Chrome for Android, though it also disables the link.