File size: 1,404 Bytes
273f76c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Fancy Progress Bar with Counter</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f4f4f4;
        }

        .progress-container {
            width: 80%;
            max-width: 500px;
            background: linear-gradient(to right, #f3f3f3, #e7e7e7);
            border-radius: 15px;
            margin: 0px auto;
            padding: 5px;
            position: relative;
            box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
        }

        .progress-bar {
            width: 41.6%;
            height: 30px;
            background: linear-gradient(to right, #34D399, #059669);
            border-radius: 12px;
            box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
        }

        .counter {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 20px;
            font-weight: bold;
            color: #333;
            text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
        }
    </style>
</head>

<body>
    <div class="progress-container">
        <div class="counter" id="counter">5/12</div>
        <div class="progress-bar" id="progressBar"></div>
    </div>
</body>

</html>