// 資料庫 @import './partials/variable'; @import './partials/mixin'; .storeList { .tabBtns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; margin-bottom: 30px; button { position: relative; padding: 10px; border-bottom: 1px solid #ddd; &::before { content: ''; position: absolute; bottom: 0; display: block; width: 0; height: 2px; left: 50%; background-color: #2680ff; transition: all 0.4s ease-in-out; transform: translateX(-50%); } &.active, &:hover { &::before { width: 100%; } } } } .tabContent { display: none; padding: 30px; } .listBox { max-width: 1150px; margin: 0 auto; display: flex; align-items: center; flex-wrap: wrap; gap: 50px; @include screenMax('1330') { max-width: 1062px; } .item { @include itemWidth(50, 5); @include screen('mobile') { @include itemWidth(50, 3); } @include screen('xsMobile') { @include itemWidth(50, 2); } } } }