Home › Forums › CSS › Overlapping text background › Reply To: Overlapping text background
December 14, 2016 at 10:13 pm
#249043
I.m.learning
Participant
How’s this look for you?
h2 {
background-color: white;
opacity:.5;
display: inline;
}
Change the opacity to whatever your liking.
****You forgot to close the .comp–hero-text CSS with a “}” ***
.comp–hero-text {
align-self: center;
margin: 0 auto;
max-width: $max-width – 200px;
text-align: center;
width: 80%;} <–