There is an issue I am facing while trying to implement the following CSS:
- Background image - working fine (although not visible in jsfiddle)
- A shadow created by a background div - also working fine
- The rest of the elements need to remain sharp without any shadow effects - THIS IS THE ISSUE
The "shadow div" has a fixed display attribute and is not a parent of any other element on the site! I cannot understand why the opacity property affects other elements in the same position?
Here is the shortened HTML code:
<body>
<div id="background"></div>
<div id="bodyBackground"></div>
<div id="body">elements here look darker</div>
</body>