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?

CSSで文字色を変更する方法

Posted at

selector: p, h1, .class, #id)
p {
color: red;
}

これは赤い文字です。

h1 { color: #1E90FF; }

青い見出しです

span { color: rgb(255, 165, 0); } オレンジ色のテキスト

CSSで文字色を変えるのは非常に基本的なスタイル設定です。
色を統一して管理したい場合は、クラスを作ると便利です。

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?