table {
border-collapse: collapse;
width: 100%;
font-family: Arial, sans-serif;
text-align: center;
}
thead {
background-color: #f4f4f4;
}
th, td {
border: 1px solid #ccc;
padding: 8px;
}
/* Mobile Responsive */
@media (max-width: 768px) {
table, thead, tbody, th, td, tr {
display: block;
width: 100%;
}
thead {
display: none; /* Hide table header */
}
tr {
margin-bottom: 15px;
border: 1px solid #ddd;
border-radius: 10px;
padding: 10px;
background: #fafafa;
}
td {
text-align: right;
padding-left: 50%;
position: relative;
border: none;
border-bottom: 1px solid #eee;
}
td:last-child {
border-bottom: none;
}
td::before {
content: attr(data-label);
position: absolute;
left: 10px;
font-weight: bold;
color: #333;
}
}
| Date |
Fajr |
Sunrise |
Dhuhr |
Asr |
Maghrib |
Isha |
| 2025-11-13 |
5:15 AM |
6:32 AM |
12:06 PM |
3:14 PM |
5:39 PM |
7:09 PM |
| 2025-11-14 |
5:16 AM |
6:33 AM |
12:06 PM |
3:13 PM |
5:39 PM |
7:09 PM |
| 2025-11-15 |
5:17 AM |
6:34 AM |
12:06 PM |
3:13 PM |
5:39 PM |
7:09 PM |