I fully understanding of your project, it made with javascript for events like when clicked or onmouseup at the button.
With CSS I can modify the button like on your sample, use an image with small size but have good quality view, so the website not take much bandwidth when it opened by many online user. So online user that opened your website not see the scratch/loading with long times.