Default Card
Card title
White background, subtle shadow. This is the baseline—no :has() rules match here.
Go somewhereThe parent selector CSS waited 20 years for
White background, subtle shadow. This is the baseline—no :has() rules match here.
Go somewhereMint gradient background + green border. The card reacts to its button's class.
Fancy ButtonCoral gradient + uppercase title. A heading class changes the entire card.
Go somewhereDark teal theme with inverted text. One paragraph class flips the whole palette.
Go somewhereYellow gradient + amber border. The pill-shaped button triggers a warm theme.
Special ButtonLavender gradient + purple border. Image size affects the card's entire appearance.
Go somewhereBack to baseline for comparison. Same markup structure, just no special classes.
Go somewhere