-
Notifications
You must be signed in to change notification settings - Fork 3
/
current-weather-info-card.html
55 lines (49 loc) · 1.94 KB
/
current-weather-info-card.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
<!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: #f5f6f7;">
<div class="container py-5 h-100">
<div class="row d-flex justify-content-center align-items-center h-100">
<div class="col-md-10 col-lg-8 col-xl-6">
<div class="card bg-dark text-white" style="border-radius: 40px;">
<div class="bg-image" style="border-radius: 35px;">
<img
src="https://mdbcdn.b-cdn.net/img/Photos/new-templates/bootstrap-weather/draw1.webp"
class="card-img"
alt="weather"
/>
<div class="mask" style="background-color: rgba(190, 216, 232, .5);"></div>
</div>
<div class="card-img-overlay text-dark p-5">
<h4 class="mb-0">Juneau, Alaska, US</h4>
<p class="display-2 my-3">1.28°C</p>
<p class="mb-2">Feels Like: <strong>-1.08 °C</strong></p>
<h5>Snowy</h5>
</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>