-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex-5.html
95 lines (83 loc) · 2.16 KB
/
index-5.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
94
95
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #2C2C2C;
}
.container {
width: 290px;
height: 190px;
background: linear-gradient(60deg,
#000, #434343);
border-radius: 10px;
box-shadow: rgba(0, 0, 0, .7) 0px 4px 12px;
}
.container .card {
width: 100%;
height: 100%;
margin: 0 auto;
position: relative;
z-index: 1;
border-radius: 10px;
transition: 1s;
box-shadow: rgba(0, 0, 0, .7) 0px 4px 12px;
}
.card img {
width: 100%;
height: 100%;
border-radius: 10px;
}
.container .content {
width: 100%;
height: 100%;
border-radius: 10px;
transform: translateY(-168px);
transition: 1s;
}
.content h3,
p {
text-align: center;
color: transparent;
background: linear-gradient(#41311b,
#f8c842);
-webkit-background-clip: text;
text-shadow: 0px 6px 10px rgba(0, 0, 0, .5);
}
.content h3 {
font-size: 25px;
text-transform: uppercase;
}
.content p {
margin-top: -15px;
font-family: monospace;
}
.container:hover .card {
width: 60%;
height: 70%;
opacity: 1;
transform: translateY(-40px);
}
.container:hover .content {
transform: translateY(-40px);
}
</style>
</head>
<body>
<div class="container">
<div class="card">
<img src="https://wallpapers.com/images/hd/iron-man-tony-stark-ouqxo5w2b59h0042.webp">
</div>
<div class="content">
<h3>iron man</h3>
<p>Hey Friends i am iron
man.</p>
</div>
</div>
</body>
</html>