css using the same background-color as the parent background

CSS
.child {
    float: right;
    background-color: inherit;
}
Source

Also in CSS: