I have a psd file and I want to make psd to CSS. I tried to write header of psd which have opacity
as in picture.
This is from my
index.html
menu which contains container
div. Second container which contains brand and menus
<nav class="menu">
<div class="container">
<div id="brand">
<h1>Brandi</h1>
<p>| I’am your tag line</p>
</div>
<ul class="menu">
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
</ul>
</div>
</nav>
my css as written:
.menu{
width:100%;
height:70px;
background-color:#000;
-moz-opacity:.60;
filter:alpha(opacity=60);
opacity:.60;
}
.container{
width:80%;
height:70px;
margin:0 auto;
}
#brand{
width:25%;
height:auto;
position:relative;
top:10px;
}
#brand>h1{
color: #fff;
float:left;
font-family: 'Pacifico', cursive;
font-size : 28px;
}
#brand>p{
color:#73797a;
float:left;
font-family: 'Open Sans', sans-serif;
font-size : 13pt;
margin-left:20px;
line-height:50px;
}
As shown in figure h1
element and p
element also have opacity
which I don't want. How can I overcome this problem?