.gg-view-grid { box-sizing: border-box; position: relative; display: block; transform: scale(var(--ggs,1)); border: 2px solid; border-radius: 3px; width: 20px; height: 14px } .gg-view-grid::after, .gg-view-grid::before { content: ""; display: block; box-sizing: border-box; position: absolute; width: 2px; height: 14px; top: -2px; left: 4px; background: currentColor; box-shadow: 6px 0 0 } .gg-view-grid::before { width: 20px; height: 2px; left: -2px; top: 2px; box-shadow: 0 4px 0 }