.divider { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; } .divider::before, .divider::after { background-color: #ffc600; height: 2px; content: ""; }