Here are my box classes
box
.rectangle-box { width: 200px; height: 30px; background: #808080; opacity: 0.3; float: right; } .re
Use RGBA instead of hex. using opacity: affects child elements and rgba does not
.rectangle-box { width: 200px; height: 30px; background-color: rgba(128,128,128, 0.3); float: right; } .rectangle-red { width: 65px; height: 30px; background-color: rgba(255,71,66, 1); float: left; }