I am currently developing a Google Chrome extension and working on the right side, specifically in my friend's stories section. I am looking for a particular friend's story by searching for their name entered in the input field after clicking the button. I want to dim or darken all elements within the black border in the picture except for the one that matches the search until the user presses the X button.
I am struggling to figure out how to target all other elements except for one! :(
Here is the picture: