-
Notifications
You must be signed in to change notification settings - Fork 0
/
hover-card.html
40 lines (40 loc) · 1.56 KB
/
hover-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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Mouse+Memoirs&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>Image Hover</title>
</head>
<body>
<div class="container">
<h1>Hover Cards</h1>
<div class="card-container">
<div class="card">
<div class="card__image card__image--1"></div>
<div class="card__text-container">
<h2 class="card__header">Red Velvet Cupcake</h2>
</div>
<span class = "image-credit">luisana-zerpa | unsplash</span>
</div>
<div class="card">
<div class="card__image card__image--2"></div>
<div class="card__text-container">
<h2 class="card__header">Chocolate Ganache Tart</h2>
</div>
<span class = "image-credit">ruth georgiev | unsplash</span>
</div>
<div class="card">
<div class="card__image card__image--3"></div>
<div class="card__text-container">
<h2 class="card__header">Macarons</h2>
</div>
<span class = "image-credit">keila hotzel | unsplash</span>
</div>
</div>
</div>
</body>
</html>