0
I took this code from the internet to see how it works. First it only shows after loading the data from the server. I wanted to make one for when it enters a page, it show the loading until the component is loaded.
#loading {
background: none no-repeat scroll 50% 50% rgba(255, 255, 255, 0.8);
height: 100px;
left: 500px;
position: fixed;
top: 500px;
width: 200px;
z-index: 1000;
text-align: center;
}
#loading #fraseLoader {
font-size: 25px;
}
#loading #imagemLoader {
margin-top: 20%;
}
<div id="loading" style="display: none;">
<i class="ace-icon fa fa-spinner fa-spin orange bigger-125"></i>
<p id="fraseLoader">Processando, aguarde...</p>
</div>
What is wrong?
Can you link to the source of the snippet?
– vinibrsl
Vinicius I do not remember, I found yesterday.
– Guilherme
JS is missing, right? I only see CSS/HTML here.
– vinibrsl