-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.Rmd
75 lines (63 loc) · 1.76 KB
/
about.Rmd
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
67
68
69
70
71
72
73
74
75
STILL UNDER CONSTRUCTION. CHECK BACK LATER
<style>
.transition-container {
position: relative;
display: inline-block; /* Can also use flex here */
width: 150px;
height: 150px;
}
.image, .info-box {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
transition: opacity 0.6s
margin-top: 10px; /*This was added as an addition for margins */
}
.info-box {
display: none;
background-color: white;
border: 1px solid #ccc;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
padding: 20px
width: 200px;
}
.transition-container:hover .image {
opacity: 0;
}
.transition-container:hover .info-box {
display: block;
opacity: 1;
}
</style>
<div class="transition-container">
<div class="images/tanzania.png">
<img src="images/tanzania.png" alt="Image 1" width="250" height="250">
</div>
<div class="info-box" data-info="Information about Image 1">
Here will be information about me, maybe Liberian flag here
</div>
<div class="image">
<img src="images/tanzania.png" alt="Image 2" width="250" height="250">
</div>
<div class="info-box" data-info="Information about Image 2">
More info -- testing
</div>
</div>
<div class="transition-container">
<div class="image">
<img src="path/to/image1.jpg" alt="Image 1" width="150" height="150">
</div>
<div class="info-box" data-info="Information about Image 1">
Here will be information about me, maybe Liberian flag here
</div>
<div class="image">
<img src="path/to/image1.jpg" alt="Image 1" width="150" height="150">
</div>
<div class="info-box" data-info="Image 2">
More info -- testing
</div>
</div>
Include slide show of some pictures of you doing fun things, when clicked will display information about the experiences.