0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Submitボタンをクリックしたときに出る青い枠線を消す方法

Posted at

htmlでSubmitボタンをクリックしたあと、ボタンに青い枠線が出しまうのを回避する方法を紹介します。

クリック前
Bildschirmfoto 2020-08-15 um 15.02.29.png

クリック後
Bildschirmfoto 2020-08-15 um 15.02.17.png

cssに以下のコードを追加する

# formbtn:focus{
    outline:0;
}

#formbtnはボタンのidなので、環境に合わせて変えてください。



0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?