Problem: After I enter opacity:0.5(or whatever) It applies on all objects that is in header. How can I solve it? Entering opacity:1 in header h1,h2 does not help.
Here is the jsfiddle link: http://jsfiddle.net/unyfmf3d/
Here is the css code:
body {
background: #E6E6E6;
color: black;
}
.header {
opacity:0.2;
margin:0px auto;
width:700px;
height:150px;
background: white;
}
#header h1 {
opacity:1;
font-family: times, Times New Roman, times-roman, georgia, serif;
color: #444;
margin:0px;
padding: 0px 0px 6px 0px;
font-size: 51px;
line-height:20px;
letter-spacing:-2px;
font-weight:bold;
}
#header h2 {
opacity:1;
font-family: Gill Sans, Verdana;
font-size: 11px;
line-height: 14px;
text-transform: uppercase;
letter-spacing:2px;
font-weight: bold;
}