skip to Main Content

Html – Black background on text in hero image

I tried creating a hero image with text, but the background is visible behind the text. My text is white and the site is black #hero-header{ background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("friends-cover2.jpg"); background-position: center; background-size: cover;…

VIEW QUESTION
Back To Top
Search