Html – How to write versatile and reversible css for border radius?
I am creating a "Side by Side" component. I am designing it in a way where the text and image should be swap-able. Currently the inside border radius is hard coded as follows: .side-by-side:has(img) { img { border: none; border-radius:…