span { cursor:pointer; } .minus{ margin-left: 1rem; } .minus, .plus{ width:20px; height: 34px; background: #F1F1F1; padding:8px 5px 8px 5px; border:1px solid #F1F1F1; display: inline-block; vertical-align: middle; text-align: center; } .quantity input{ height: 34px; max-width: 4rem; text-align: center; font-size: 26px; border:1px solid #F1F1F1; background: #F1F1F1; display: inline-block; vertical-align: middle; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter