У меня есть два разных div, один с изображением и один с сплошным цветом. Как бы я их смешал, чтобы изменения не были заметны?Как смешать изменения цвета
HTML:
<div class="content1">
<h3 class="text1">Our Latest Album<span class="slash"> / </span><span class="text2">Fresh from the house of Music Club Band</span></h3>
</div>
<div class="album">
<div class="album1"><img src="http://www.thefreeloves.com/prototype/test/wp-content/uploads/2015/02/FDA9133-650x385.jpg" alt="album1"></div>
<div class="album2"><img src="http://www.thefreeloves.com/prototype/test/wp-content/uploads/2015/02/FDA9099-650x385.jpg" alt="album2"></div>
<div class="album3"><img src="http://www.thefreeloves.com/prototype/test/wp-content/uploads/2015/02/FDA0373-650x385.jpg" alt="album3" class="album4"></div>
</div>
CSS:
.content1 {
background-image: url("http://www.thefreeloves.com/prototype/test/wp-content/uploads/2014/02/album-title.jpg");
color: white;
text-align: center;
width: 100%;
height: 20%;
display: block;
float: left;
}
.text1 {
font-family: "Goudy Old Style", Optima, sans-serif;
font-size: 40px;
margin-bottom: 0;
margin-top: 45px;
}
.text2 {
font-size: 30px;
color: #6CB9D9;
}
.album1 {
float: left;
display: inline-block;
width: 31%;
text-align: center;
margin-right: 35px;
margin-left: 25px;
opacity: 1;
transition: opacity 0.3s ease-in;
}
.album1:hover {
opacity: 0.5;
transition: opacity 0.3s ease-in;
}
.album2{
display: inline-block;
width: 31%;
text-align: center;
opacity: 1;
transition: opacity 0.3s ease-in;
}
.album2:hover {
opacity: 0.5;
transition: opacity 0.3s ease-in;
}
.album3 {
float: right;
display: inline-block;
width: 31%;
text-align: center;
margin-left: 20px;
margin-right: 20px;
opacity: 1;
transition: opacity 0.3s ease-in;
}
.album3:hover {
opacity: 0.5;
transition: opacity 0.3s ease-in;
}
.album {
width: 100%;
overflow: hidden;
background-color: #191919;
}
.album img {
width: 100%;
}
Потому что мой пост в основном код: Подробнее Подробнее Подробнее Подробнее Подробнее Подробнее
@A Моррис смотреть в 'совмещенного-mode' свойство CSS [Nice Учебник] (https://css-tricks.com/basics-css-blend-modes/) –