css
* {
margin: 0;
padding: 0;
}
.load{
position: absolute;
z-index: 9999 !important;
width: 100%;
height: 100%;
background: #1c1e20bf;
}
.loadmain{
width: 200px;
height: 60px;
color: rgb(255, 255, 255);
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
display: flex;
align-items: center;
}
.loadmain>img{
width: 32px;
height: 32px;
}
.loadmain>span{
font-size: 12px;
padding-left: 8px;
width: 100px;
align-items: center;
display: flex;
justify-content: space-between;
}
html
<div class="load">
<div class="loadmain">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAACGFjVEwAAAAQAAAAAOmtV5IAAAH1UExURQAAADE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0ODE0OCyhMC2FMi2TMSyaMS1/My2MMi56My51NCygMC2GMjE1OC5xNC9YNTE4ODE5OC2EMi2JMiyfMC59My5/MyyeMDBNNi9qNC2QMTBKNjBRNiyYMS2NMjBGNy9sNDBLNjE3OCyZMSybMCydMC2UMS51My9iNS9rNDE2ODFANy54My2PMS2SMS53My9eNS9gNTBDNzE8NyyXMSycMC2BMy2HMi55My9jNS9mNDA+NzBTNjE7NzE9NzE+NzFCNy2CMi2IMi2OMS2VMS58MzBCNy2DMi5oNC5sNC52My9ZNTBENy2WMS5vNC5zMy9YNi9cNTBFNy9nNDBINzBKNzBSNjBUNiyWMS2AMi5qNC5vMy5+My9SNi9WNi9aNS9dNS9hNS9kNS9mNS9oNS9pNC9uNDA/NzBBNzBVNiyZMC2KMi2LMi2MMS2NMS2RMS2XMS5wNC6FMi9UNi9bNS9oNDBANzBMNjBONjBQNjBWNjE6ODE7ODE/NzFBNwvxtMgAAAAqdFJOUwABAgQJChAREhUYJC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