My carousel consists of three divs representing a Twitter post, a Facebook post, and a LinkedIn post. These are contained within another div called #social-media-feeds.
I am curious if it is feasible to adjust the background color of #social-media-feeds depending on which div in the carousel is currently displayed.
For instance, when the Twitter div is showing, I would like the background color of #social-media-feeds to be #00aced. Similarly, when the Facebook div is displayed, the background color should change to #3b5998, and when the LinkedIn div is visible, the background color should become #007bb5.
If this customization is possible, I would greatly appreciate some guidance. Thank you!