Skip to content

Commit 2e30c8f

Browse files
small changes
1 parent 0496bac commit 2e30c8f

File tree

2 files changed

+54
-7
lines changed

2 files changed

+54
-7
lines changed

index.html

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,20 @@
1515

1616
<div class="landing-container">
1717
<div class="landing-content">
18+
<p id="name">Yadhu krishna</p><br>
1819
<b>Fullstack developer/ </b> <br> ML enthusiast/ <br> <i>designer</i>
19-
<img src="./assets/img.png" alt="" srcset="" id="img">
2020
</div>
21-
</div>
22-
23-
2421

22+
<div class="about-container">
23+
<h3>About</h3>
24+
</div>
2525

26+
<div class="work-container">
27+
<h3>Works</h3>
28+
</div>
29+
</div>
30+
31+
<img src="./assets/img.png" alt="" srcset="" id="img">
32+
2633
</body>
2734
</html>

style.css

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ html{
1212
display: none;
1313
}
1414

15+
h3{
16+
margin: 0px;
17+
}
18+
1519
body{
1620
background-image: url(./assets/image-from-rawpixel-id-12613923-png.png);
1721
background-color: rgb(29, 206, 194);
@@ -29,32 +33,68 @@ width: 0.5em;
2933
align-items:center;
3034
justify-content: center;
3135
flex-direction:column;
36+
position: relative;
37+
38+
}
39+
#name{
40+
font-size: 4em;
41+
margin: 0;
42+
text-shadow: 0px 20px 10px rgba(0, 0, 0, 0.495);
43+
z-index: 5;
44+
position: relative;
45+
}
3246

47+
.about-container{
48+
position: absolute;
49+
left: 4em;
50+
padding: 15px;
51+
top: 4em;
52+
border-radius: 20px;
53+
box-shadow: -10px 5px 0px 0px rgba(10, 10, 10, 0.321);
54+
transform: rotate(-5deg);
55+
background-color: wheat;
56+
transition: ease-in-out .5s all;
57+
}
58+
59+
.work-container{
60+
position: absolute;
61+
right: 4em;
62+
padding: 15px;
63+
top: 4em;
64+
border-radius: 20px;
65+
transform: rotate(-2deg);
66+
box-shadow: 10px 6px 0px 0px rgba(10, 10, 10, 0.321);
67+
background-color: wheat;
68+
transition: ease-in-out .5s all;
3369
}
3470

3571
.landing-content{
3672
align-self: center;
73+
width: fit-content;
3774
color: yellow;
3875
font-size: larger;
76+
animation: ease-in-out .4s slide;
3977
}
4078

4179
#img{
4280
height: 35vh;
4381
transition: all .3s ease-in-out;
4482
position: fixed;
83+
opacity: 0;
4584
bottom: 0px;
4685
left: calc(50vw - (40vh / 2));
47-
animation: slide .5s linear;
86+
animation: slide 1s ease-in-out forwards;
87+
animation-delay: 1s;
4888
}
49-
89+
5090
@keyframes slide {
5191
0%{
5292
opacity: 0;
5393
transform: translateY(40px);
5494
}
5595
40%{
5696
opacity: 0;
57-
transform: translateY(20px);
97+
transform: translateY(40px);
5898
}
5999
100%{
60100
opacity: 1;

0 commit comments

Comments
 (0)