I have a span element that serves as a resizing bar. It's current CSS is:
.Resizer { background: whitesmoke; opacity: .2; /*z-index: 1;*/ -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; /*-moz-background-clip: padding;*/ /*-webkit-background-clip: padding;*/ background-clip: padding-box; } However, I'm able the content behind the resizer bar. If I drag the resizer bar over a div that has non-flex content, the resizer bar overlaps the div and I'm able to see through the resizer bar. How can I keep the opacity, but have bar be opaque?