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?

家計簿アプリを作る#36

Posted at

スクリーンショット 2025-04-23 154821.png
CSSPropertiesをインポートし、選択されたメニューのカラーの設定をする👆

スクリーンショット 2025-04-23 155027.png
textDecorationをnoneにすると、メニューをしたときに、青色になるのを防ぎ、
color inheritとすることで、親要素のカラーを受け継ぐ。(親要素でなにも色が指定されてなかったら、デフォルトの黒色)
aタグは、インライン要素で、うまく表示されない可能性もあるので、display blockで指定する。
また、activeLinkStyleで、背景色を変えたいので、backgroundColorに変える。

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?