Carte Bootstrap de progression pour dashboard avec statistiques et barre de progression animée.
<!doctype html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<meta name="copyright" content="MEZGANI Said" />
<meta name="author" content="AngularForAll" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Dashboard Progress Card | AngularForAll</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" />
<style>
body {
background-color: #f0f2f5;
font-family: 'Inter', 'Segoe UI', sans-serif;
padding: 30px 0;
}
.main-card {
border: none;
border-radius: 15px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
background: #fff;
margin-bottom: 30px;
overflow: hidden;
}
.card-header {
background: #fff;
border-bottom: 1px solid #f0f2f5;
padding: 1.5rem;
}
.card-header h5 {
margin: 0;
font-weight: 800;
color: #1a1f36;
text-transform: uppercase;
font-size: 0.9rem;
letter-spacing: 1px;
}
.list-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 1.5rem;
transition: all 0.2s ease;
border-bottom: 1px solid #f8f9fa;
}
.list-item:last-child {
border-bottom: none;
}
.list-item:hover {
background-color: #f8faff;
transform: scale(1.01);
}
.icon-box {
width: 40px;
height: 40px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 15px;
font-size: 1rem;
}
.bg-cost {
background: #eef2ff;
color: #4e73df;
}
.item-title {
font-weight: 700;
color: #3c4858;
margin-bottom: 0;
font-size: 0.9rem;
}
.item-label {
font-size: 0.8rem;
color: #8492a6;
}
.progress-container {
width: 100%;
background-color: #f0f2f5;
border-radius: 10px;
height: 6px;
margin-top: 8px;
}
.progress-bar {
height: 100%;
background-color: #4e73df;
border-radius: 10px;
}
.progress-details {
display: flex;
justify-content: space-between;
font-size: 0.7rem;
color: #8492a6;
margin-top: 5px;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-lg-6 col-xl-4">
<div class="main-card">
<div class="card-header">
<h5>
<i class="fas fa-chart-line mr-2 text-primary"></i>
Cost
</h5>
</div>
<div class="list-group list-group-flush">
<div class="list-item">
<div class="d-flex align-items-center">
<div class="icon-box bg-cost">
<i class="fas fa-users"></i>
</div>
<div>
<p class="item-title">Total Cost</p>
<p class="item-label">Budget Tracking</p>
</div>
</div>
<div class="text-right">
<span class="h6 mb-0 font-weight-bold">100</span>
</div>
</div>
<div class="list-item px-0 pb-0">
<div class="w-100 px-4 pb-3">
<div class="progress-container">
<div class="progress-bar" style="width: 30%"></div>
</div>
<div class="progress-details">
<span>Min: 0</span>
<span>Max: 1000</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>