質問編集履歴

1

コード追加

2020/02/07 04:56

投稿

ARIA-0
ARIA-0

スコア11

test CHANGED
File without changes
test CHANGED
@@ -28,7 +28,75 @@
28
28
 
29
29
 
30
30
 
31
+ ```html
31
32
 
33
+ <div class="progress" id="progress">
34
+
35
+ <span class="progress-bar"></span>
36
+
37
+ <span class="progress-text">0%</span>
38
+
39
+ </div>
40
+
41
+ ```
42
+
43
+
44
+
45
+ ```css
46
+
47
+ .progress {
48
+
49
+ background-color: rgb(0, 0, 0);
50
+
51
+ color: rgb(255, 255, 255);
52
+
53
+ height: 100%;
54
+
55
+ position: absolute;
56
+
57
+ width: 100%;
58
+
59
+ }
60
+
61
+ .progress-bar {
62
+
63
+ border-top: 1px solid rgb(160, 160, 160);
64
+
65
+ position: absolute;
66
+
67
+ top: 50%;
68
+
69
+ width: 0%;
70
+
71
+ }
72
+
73
+ .progress-text {
74
+
75
+ font-family: "Menlo", "Consolas", monospace;
76
+
77
+ font-size: 12px;
78
+
79
+ margin-top: 10px;
80
+
81
+ position: absolute;
82
+
83
+ text-align: center;
84
+
85
+ top: 50%;
86
+
87
+ width: 100%;
88
+
89
+ }
90
+
91
+ .progress-complete .progress-bar {
92
+
93
+ border-top-color: rgb(255, 255, 255);
94
+
95
+ }
96
+
97
+
98
+
99
+ ```
32
100
 
33
101
 
34
102