Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

55
Visualizações
How do I remove the blue square that appears when I click the button on small screens?

When I set the screen size to small in Chrome Developer Tools or when I review my project on my phone, a blue square temporarily appears around the button when I click on it. I tried setting o outline: none , and preventing this, but there was no visible change. I checked the styling in Chrome Developer Tools, but I can't figure out where this blue square is coming from and how to remove it or make it invisible. Any help is welcome. outline: 0buttonbutton:hoverbutton:focusbutton:active

This is my HTML:

 <button>
 <span class="dice-wrapper">
 <img src="./src/assets/icon-dice.svg" alt="Dice icon">
 </span>
</button>

This is my CSS:

 button {
 width: 64px;
 aspect-ratio: 1 / 1;
 display: flex;
 justify-content: center;
 align-items: center;
 border: none;
 border-radius: 50%;
 background-color: var(--neon-green);
}

button:hover {
 cursor: pointer;
 box-shadow: 0 0 40px 3px var(--neon-green);
}

button:focus, button:active {
 box-shadow: none;
}

Full code on GitHub: https://github.com/Marjolein-Kasman-de-Jong/advice-generator-app

Project on GitHub pages: https://marjolein-kasman-de-jong.github.io/advice-generator-app/

over 2 years ago · Carlos Garzón Colorado
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda