CSSのヘッダの背景画像の不透明度を変更したいと思います。私を手伝ってくれますか。CSSで背景画像の不透明度を変更する
.intro {
display: table;
width: 100%;
height: auto;
padding: 100px 0;
text-align: center;
color: #fff;
background: url(http://lorempixel.com/1910/500/nature/) no-repeat bottom center scroll;
background-color: #000;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
}
<header class="intro">
...
</header>
あなたは1分でGoogleに何かのための4つのupvotes? OPのユーザー名にはあまり準拠していません。 – Shikkediel
現代のブラウザでは、CSS3の 'filter'を使うこともできます:https://developer.mozilla.org/en-US/docs/Web/CSS/filter – connexo