-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathportfolio.html
123 lines (110 loc) · 3.2 KB
/
portfolio.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>portfolio</title>
<style>
*{
margin:0;
padding:0;
box-sizing: border-box;
}
.container{
display:flex;
justify-content: space-evenly;
align-items: center;
gap:20px;
min-height: 100vh;
background: linear-gradient(to right,#041308,#330b10)
}
.heading{
font-size:3rem;
color:orangered;
text-align: center;
}
.subheading{
color:white;
font-size:1rem;
font-weight: bold;
text-align: center;
margin-top: 10px;
.text{
flex-basis: 30%;
}
}
.gallery{
flex-basis:250%;
display:grid;
grid-template-columns:1fr 1fr 1fr ;
grid-auto-rows: 120px;
gap:5px;
}
.box{
background-size:cover;
background-position:center;
color:white;
display:flex;
justify-content: center;
align-items: center;
background-color: #222;
background-blend-mode: hard-light;
transition: all 1s ease-in-out;
animation-name: color;
animation-duration: 5s;
}
.row-2{
grid-area:span 2;
}
.col-2{
grid-area:span 2;
}
.box:hover{
box-shadow: 0 0 4px #fff;
background-color: #999;
cursor: pointer;
background-position:top;
}
@keyframes color {
from{
transform: rotate(0drg);
}
to{
transform: rotate(360deg);
}
}
/* @keyframes color{
0%,100%{
transform:translate(0,0);
}
25%{
transform:translate(200px,0);
}
50%{
transform:translate(200px,200px);
}
75%{
transform:translate(0,200px);
}
} */
</style>
</head>
<body>
<div class="container">
<div class="text">
<h1 class="heading">I <span>Aditya</span></h1>
<p class="subheading">I Used to Develop website inorder to Improve The website</p>
</div>
<div class="gallery">
<div class="box row-2 " id ="box-1" style="background-image:url(https://cdn.pixabay.com/photo/2018/08/23/07/35/thunderstorm-3625405_1280.jpg);">Thunder</div>
<div class="box " style="background-image:url(https://cdn.pixabay.com/photo/2017/05/08/13/15/spring-bird-2295434_1280.jpg);">Bird</div>
<div class="box col-2" style="background-image:url(https://cdn.pixabay.com/photo/2016/11/14/04/36/boy-1822614_1280.jpg);">man</div>
<div class="box " style="background-image:url(https://cdn.pixabay.com/photo/2013/04/04/12/34/mountains-100367_1280.jpg);">mountain</div>
<div class="box row-2" style="background-image:url(https://cdn.pixabay.com/photo/2015/07/05/10/18/tree-832079_1280.jpg);">tree</div>
<div class="box "style="background-image:url(https://cdn.pixabay.com/photo/2016/10/14/22/52/tiger-1741443_1280.jpg);">tiger</div>
<div class="box col-2"style="background-image:url(https://cdn.pixabay.com/photo/2023/02/17/19/59/dog-7796822_1280.jpg);">dog</div>
<div class="box" style="background-image:url(https://cdn.pixabay.com/photo/2016/10/12/02/56/girl-1733352_1280.jpg);">girl</div>
</div>
</div>
</body>
</html>