The button has a gray border that is ugly. How to remove it?

The button has a gray border that is ugly. How to remove it?
I used the dialog in closure and drew a dialog with a close button beyond the upper right corner. I found that when the button popped up, it had a gray border, which was ugly. Sometimes the border disappeared after repeated operations. I always thought it was a problem with closure. Later, I used Firefox to see that the border was a rectangular virtual border that included the dialog and the close button, so it felt like the effect after focus. I googled html focus border and the problem was solved: outline:none

<<:  HTML page common style (recommended)

>>:  Linux five-step build kernel tree

Recommend

How to clean up Alibaba Cloud MySQL space

Today I received a disk warning notification from...

Design Story: The Security Guard Who Can't Remember License Plates

<br />In order to manage the vehicles enteri...

How to change the domestic image source for Docker

Configure the accelerator for the Docker daemon S...

JavaScript static scope and dynamic scope explained with examples

Table of contents Preface Static scope vs. dynami...

Initial summary of the beginner's website building tutorial

After writing these six articles, I started to fee...

Mysql optimization tool (recommended)

Preface While browsing GitHub today, I found this...

SQL Get stored procedure return data process analysis

This article mainly introduces the analysis of th...

How to implement concurrency control in JavaScript

Table of contents 1. Introduction to Concurrency ...

Some suggestions on Vue code readability

Table of contents 1. Make good use of components ...

The whole process of installing gogs with pagoda panel and docker

Table of contents 1 Install Docker in Baota Softw...

Use of Linux crontab command

1. Command Introduction The contab (cron table) c...

Detailed explanation of the use of CSS3 rgb and rgba (transparent color)

I believe everyone is very sensitive to colors. C...