/* 库位组 */ .stock-group .item { float: left; border-top: 2px solid #333; border-bottom: 2px solid #333; border-left: 1px solid #333; border-right: 1px solid #333; } .stock-group .item:first-child { border-left: 2px solid #333; } .stock-group .item:last-child { border-right: 2px solid #333; } .stock-group::after, .stock-group::before { content: ""; display: table; clear: both; } button.item { padding: 1px 1px 1px 1px; width: 22px; height: 22px; outline: none; cursor: pointer; color: #333; background-color: transparent; transition: 0.4s; } button.item:hover { background-color: #333; color: #fff; }