apologies if this is a duplicate-I posted this a few minutes earlier and tried to edit it to fix the markdown and it somehow disappeared
HELLO good people of CSS Tricks.
I’m a new student learning HTML/CSS/JS and have spend the last few hours (yeah, that long) trying to figure out why this isn’t working in my code. I’m trying to change the color and opacity of the image so that the text in the welcome div is more readable.
Thank you for reading–again, I’m new to this so if I’ve left anything out, please let me know.
-a grateful student.
The opaque background colour is there but as Paulie mentioned, it does not affect the image itself. They are a stack of two layers of background.
By the way, you imgur image seems to link fine. And blocks of code can be created by either using one
tilde around a word/phrase or three in a row to create a larger section:
Like this one
new info on the * selector (!!!) that seems in line with the info on w3 and stack overflow though those solutions involved creating a new div rather than a pseudo-element (pseudo element seems cleaner, right?) I tried the additional layer in my original code but couldn’t really figure out why it wasn’t rendering the way I’d intended.
not sure how you embedded the the div above–would you mind sharing the code? I don’t think (in my brief time doing this) I’ve yet come across ~~~
funny about the imgur link I still can’t get it work using my imgur link.
You must be logged in to reply to this topic.