-
Notifications
You must be signed in to change notification settings - Fork 3
/
weather-card-ui.html
66 lines (60 loc) · 2.76 KB
/
weather-card-ui.html
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
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Material Design for Bootstrap</title>
<!-- MDB icon -->
<link rel="icon" href="img/mdb-favicon.ico" type="image/x-icon" />
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" />
<!-- Google Fonts Roboto -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" />
<!-- MDB -->
<link rel="stylesheet" href="css/bootstrap-weather.min.css" />
</head>
<body>
<!-- Start your project here-->
<section class="vh-100" style="background-color: #eee;">
<div class="container py-5 h-100">
<div class="row d-flex justify-content-center align-items-center h-100">
<div class="col-md-8 col-lg-6 col-xl-4">
<div class="card" style="border-radius: 10px;">
<div class="bg-image ripple" data-mdb-ripple-color="light" style="border-top-left-radius: 10px; border-top-right-radius: 10px;">
<img src="https://mdbcdn.b-cdn.net/img/Photos/new-templates/bootstrap-weather/draw2.webp" class="w-100" />
<div class="mask" style="background-color: rgba(0,0,0,.45)">
<div class="d-flex justify-content-between p-4">
<a href="#!" class="text-white"><i class="fas fa-chevron-left fa-lg"></i></a>
<a href="#!" class="text-white"><i class="fas fa-cog fa-lg"></i></a>
</div>
<div class="text-center text-white">
<p class="h3 mb-4">Clear night</p>
<p class="h5 mb-4">Detroit, US</p>
<p class="display-2"><strong>20°C</strong> </p>
</div>
</div>
</div>
<div class="card-body p-4 text-center">
<a href="#!" class="text-body"><i class="fas fa-chevron-up fa-lg mb-4"></i></a>
<div class="d-flex justify-content-between mb-3">
<p class="h5 fw-normal">Yesterday</p>
<p class="h5 fw-normal"><i class="fas fa-sun pe-2"></i> 23°C</p>
</div>
<div class="d-flex justify-content-between" style="color: #aaa;">
<p class="h5 fw-normal">Tommorow</p>
<p class="h5 fw-normal"><i class="fas fa-cloud pe-2"></i> 21°C</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- End your project here-->
<!-- MDB -->
<script type="text/javascript" src="js/mdb.min.js"></script>
<!-- Custom scripts -->
<script type="text/javascript"></script>
</body>
</html>