0
2

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 1 year has passed since last update.

CSSで背景を透過させる方法

Posted at

1.はじめに

  • 背景の主張が強く文字が見えづらかったので透過させる方法をメモ

2.実装

  • 白色を貼り付けて、透過させる。(0.4の部分を0.5などにして透過率を変えられる)
  background-color:rgba(255,255,255,0.4);
  background-blend-mode:lighten;

これだけで背景のみ透過させることができる。

0
2
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
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?