can i change tailwind css background color using map?

Viewed 555
     {sliderItems.map((item) => (
          <div className={`Slide w-screen h-screen flex items-center bg-[${item.bg}]`}>

I wnat to change background color using map function.

but, never change background color..

is it impossible?

enter image description here

0 Answers
Related