I have a box with a transparent background color. Below is the CSS and HTML code that I'm using:
CSS:
#box {
color: black;
text-align: center;
margin: 50px auto;
background: blue;
opacity: 0.1;
border-radius: 11px;
box-shadow: 1px 1px 1px #656565;
padding: 20px;
font-size: 25px;
}
HTML:
<div id="box" class="center">
I need this text to be in black color.
</div>
If you want to see a live demo, click here: http://jsfiddle.net/jrmXh/
The issue I'm facing is that even though the text color is set to black, it's not showing up properly. I'd appreciate it if someone could help me understand why this is happening and how to resolve it.