We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b29c4a commit 91946c4Copy full SHA for 91946c4
常用的CSS主流布局案例(1~8)/58_进度条.html
@@ -0,0 +1,28 @@
1
+<!DOCTYPE html>
2
+<html lang="en">
3
+<head>
4
+ <meta charset="UTF-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>进度条</title>
8
+ <style>
9
+ .progress-bar {
10
+ background-color: rgba(0, 0, 0, 0.1);
11
+ border-radius: 9999px;
12
+ }
13
+ .progress-bg {
14
+ display: flex;
15
+ align-items: center;
16
+ justify-content: center;
17
+ background-color: #357edd;
18
+ color: #fff;
19
20
21
+ </style>
22
+</head>
23
+<body>
24
+ <div class="progress-bar">
25
+ <div class="progress-bg" style="width: 40%;">40%</div>
26
+ </div>
27
+</body>
28
+</html>
0 commit comments