white background transparent text same element code example Example: background having opacity and text above to not have opacity Click to copybackground-color: rgba(255,0,0,0.6);