I have some code that needs to be customized.
This is my HTML:
<div class="text-rotator add-top-half add-bottom-half align-left white-txt medium-txt uppercase highlight-bg">
<div class="rotator-wrap" style="display: block;">
<span class="rotate">Creating designs!</span>
</div>
</div>
My CSS is:
.text-rotator {
line-height: 80px!important;
display: inline!important;
}
.text-rotator span {
background: #3399ff!important;
filter: alpha(opacity=60);
-moz-opacity: 0.6;
opacity: 0.6;
}
Currently, the opacity of both the text and the background is being set, but I only want to change the background without affecting the text's opacity. Any suggestions?