.gg-close-r { box-sizing: border-box; position: relative; display: block; transform: scale(var(--ggs,1)); width: 22px; height: 22px; border: 2px solid; border-radius: 4px } .gg-close-r::after, .gg-close-r::before { content: ""; display: block; box-sizing: border-box; position: absolute; width: 12px; height: 2px; background: currentColor; transform: rotate(45deg); border-radius: 5px; top: 8px; left: 3px } .gg-close-r::after { transform: rotate(-45deg) }