Tue Mar 12 2024 08:41:22 GMT+0000 (Coordinated Universal Time)
Saved by @riyadhbin
.button:where(:has(.icon)) { text-align: center; min-inline-size: 10ch; } .button:where(:not(:has(.icon))) { text-align: center; min-inline-size: 10ch; } .card :is(h2, h3) { &:has(.tag) { display: grid; gap: 0.25em; justify-items: start; } }
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments