-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgym.html
93 lines (83 loc) · 2.38 KB
/
gym.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="css/gallerycss.css">
<title>GYM</title>
</head>
<style>
.example {
cursor: pointer;
height: 300px;
position: relative;
overflow: hidden;
width: 400px;
text-align: center;
}
.example .fadedbox {
background-color: #666666;
position: absolute;
top: 0;
left: 0;
color: #fff;
-webkit-transition: all 300ms ease-out;
-moz-transition: all 300ms ease-out;
-o-transition: all 300ms ease-out;
-ms-transition: all 300ms ease-out;
transition: all 300ms ease-out;
opacity: 0;
width: 300px;
height: 300px;
padding: 130px 20px;
}
.example:hover .fadedbox {
opacity: 0.8;
}
.example .text {
-webkit-transition: all 300ms ease-out;
-moz-transition: all 300ms ease-out;
-o-transition: all 300ms ease-out;
-ms-transition: all 300ms ease-out;
transition: all 300ms ease-out;
transform: translateY(30px);
-webkit-transform: translateY(30px);
}
.example .title {
font-size: 2.5em;
text-transform: uppercase;
opacity: 0;
transition-delay: 0.2s;
transition-duration: 0.3s;
}
.example:hover .title,
.example:focus .title {
opacity: 1;
transform: translateY(0px);
-webkit-transform: translateY(0px);
}
</style>
<body>
<section class="section gallery">
<div class="container">
<h1 class="gallery-heading">GYM</h1>
<div class="gallery-grid">
<div class="gallery-item">
<img style="width:400px;height:400px;" src="images/gym.jpg">
</div>
<div class="gallery-item">
<img style="width:400px;height:400px;" src="images/gym2.jpg">
</div>
<!-- Lightbox -->
<div class="lightbox preload">
<div class="lb-content">
<!-- You may put a loader gif or svg here for starters -->
<img class="lb-img" src="https://res.cloudinary.com/ahmedagadir/image/upload/v1530730083/pokemon-API/loader-1.svg" alt="lightbox image">
<div class="lb-caption">
<a class="lb-url" href="" rel="noopener" target="_blank">Link to Site →</a>
<div class="lb-text"></div>
</div>
<a href="#" class="close">×</a>
</div>
</div>
<script src="galleryjs.js"></script>
</body>
</html>