DEV Community

Discussion on: How to change background image opacity in CSS

Collapse
thecodercoder profile image
Jessica Chan Author

If it's an element, you can adjust the opacity of that without affecting other sibling elements

Collapse
adityamitra profile image
Aditya Mitra

You mean changing the opacity of the img element only without touching the header.
Yeah, that will work!

Thread Thread
thecodercoder profile image
Jessica Chan Author

oop yes, I typed in "img" with brackets so it got messed up 😂