This is an old revision of the document!
p { background: linear-gradient(155deg, pink, red) border-box; color: #fff; border-radius: 25px; max-width: 350px; padding: 15px; } p:has(em) { place-self: start; background: linear-gradient(155deg, red, pink) border-box !important; } p em { font-style: normal; font-family: serif; } p { place-self: end; } p:has(strong) { place-self: center !important; background: linear-gradient(155deg, yellow, limegreen) border-box; border-radius: 0; text-align: center; } p strong { font-weight: normal; font-family: monospace; }