.tab-bar { position: fixed; bottom: 0; left: 0; right: 0; height: 50px; background: white; display: flex; padding-bottom: env(safe-area-inset-bottom); } .tab-bar-border { background-color: rgba(0, 0, 0, 0.2); position: absolute; left: 0; top: 0; width: 100%; height: 1px; transform: scaleY(0.25); } .tab-bar-item { flex: 1; text-align: center; display: flex; justify-content: center; align-items: center; flex-direction: column; } .tab-bar-item cover-image { width: 24px; height: 24px; } .tab-bar-item cover-view { margin-top: 2px; font-size: 12px; }