<label key={i} className="relative flex items-center gap-4 border border-primary px-4…
- User
{title} {isFreeShiping ? ( Free Shipping ) : ( <></> )} Rs.{price} You save Rs.{actualPrice - price} Rs.{actualPrice}
peer-check change background
- Assistant
To change the background of an element when its corresponding radio input is checked (using Tailwind CSS), you just need to modify the classes in your element that depend on the
peer-checkedstate. In your provided code snippet, it looks like you want to change the background of thedivwith thepeer-checked:bg-primaryclass. You can replacebg-primarywith any other Tailwind CSS background color class to achieve the desired effect.