I am trying to create a class that adds opacity and a trnasparent prelodaer spinner when a button is clicked, while I have the following:
.button-processing{
opacity: .5;
cursor: default;
&:before{
content: url("#{$image-path}hostelbookers/icons/loader-submit.GIF");
position: absolute;
top: 48px;
left: 88px;
width: 64px;
height: 64px;
z-index: 1;
}
}
I want to be able to add a class only to achieve the effect.
However, I'm fighting for the fact that the spinner is not transparent, is there a CSS solution for it or a beautiful transparent gif?
source
share