【发布时间】:2013-11-02 01:47:57
【问题描述】:
我正在使用网站标题,我需要在标题的背景上放置一些线条。一旦我把它放在一些不透明的地方,我就会遇到问题。我所有的标题现在都处于不透明状态。
html:
<div class="header">
<div clas="header strips">
<div class="some_content"><lots of text</div>
</div>
</div>
css:
.header
{
height: 120px;
width: 100%;
float: left;
background-color: #3A5FCD;
background: linear-gradient(to bottom, #00BFFF,#3A5FCD );
}
.strips
{
background: url(../img/picture.png);
opacity: 0.3;
}
.some_content
{
color: #FFFFFF;
font-family: MaassslicerItalic;
font-size: 20pt;
border-bottom:5px solid red;
}
我不明白为什么我的<div class="some_content"><lots of text</div> 也是不透明的。
这里是原始网站的链接 http://portal.plazma.com.ua/
【问题讨论】: