.icon_bg{ width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; position: relative; } .plus_bg{ position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; } .minus { width: 24px; height: 4px; border-radius: 2px; } .plus{ height: 24px; width: 4px; border-radius: 2px; }