-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
120 lines (105 loc) · 3.37 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Sachin Bisht | Software Developer Engineer</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
animation: fadeIn 1.5s;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
header {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
header h1 {
margin: 0;
transition: transform 0.3s;
}
header h1:hover {
transform: scale(1.1);
}
.content {
max-width: 800px;
margin: 50px auto;
padding: 20px;
background-color: #fff;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
border-radius: 8px;
transition: transform 0.3s, box-shadow 0.3s;
}
.content:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.content h2 {
text-align: center;
color: #333;
}
.content p {
text-align: center;
font-size: 1.2rem;
line-height: 1.5;
}
.reveal-button {
display: block;
margin: 20px auto;
padding: 10px 20px;
font-size: 1rem;
color: #fff;
background-color: #007BFF;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.reveal-button:hover {
background-color: #0056b3;
}
.extra-info {
display: none;
text-align: center;
margin-top: 20px;
font-size: 1rem;
color: #666;
}
</style>
</head>
<body>
<header>
<h1>Sachin Bisht</h1>
<p>Software Developer Engineer</p>
</header>
<section class="content">
<h2>About Me</h2>
<p>Hello! I'm Sachin Bisht, a passionate Software Developer Engineer with a strong interest in creating efficient and scalable solutions. I specialize in coding, debugging, and optimizing systems to enhance user experiences.</p>
<button class="reveal-button" onclick="toggleInfo()">Learn More</button>
<div class="extra-info" id="extraInfo">
<p>I enjoy working with modern technologies and constantly strive to improve my skills. In my free time, I love to explore new programming languages and frameworks.</p>
</div>
</section>
<script>
function toggleInfo() {
const extraInfo = document.getElementById('extraInfo');
if (extraInfo.style.display === "none" || extraInfo.style.display === "") {
extraInfo.style.display = "block";
} else {
extraInfo.style.display = "none";
}
}
</script>
</body>
</html>