.three-picture { padding: 0 0 24px 24px; border-bottom: 1px solid #e0e0e0; background: #fff; a { float: left; width: 182px; height: 238px; margin-right: 24px; &:nth-child(3n) { margin-right: 0; } } img { width: 100%; height: 100%; } }