6
7

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 5 years have passed since last update.

aタグにデフォルトでついているスタイルの取り方

Posted at

たまに忘れるので、メモがわりに置いておきます。

下線

スクリーンショット 2018-04-01 18.33.09.png

a {
  text-decoration: none;
}

青や紫などの文字色

スクリーンショット 2018-04-01 18.33.37.png

a {
  color: #000000;
}

クリックした瞬間に赤くなる文字色

スクリーンショット 2018-04-01 18.34.10.png

a:active {
  color: #000000;
}

フォーカスがあたっているときの青い囲み線

スクリーンショット 2018-04-01 18.34.50.png

a:focus {
  outline: none;
}
6
7
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
6
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?