废话不多说,直接上码源,需要的拿到不谢
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>css-loading</title>
<style>
.progress-bar {
position: absolute;
top: 0;
bottom: 0;
left: 0