Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -669,3 +669,40 @@ ul.mainBodyList {
width: 20%;
}
}


.teamheading {
color: #ffffff;
font-size: 50px;
top: 10%;
left: 100%;
transform: translateX(-00%);
font-family: "Josefin Sans", sans-serif;
letter-spacing: 5px;
text-align: center;
white-space: pre-wrap;
}

.teamheading::after {
content: "";
width: 5px;
height: 55px;
background-color: #ffffff;
position: absolute;
animation: blinking 1s 3s infinite;
}

/** heading Type Writer animation*/

@keyframes blinking {
0% {
background-color: #fff;
}
50% {
background-color: transparent;
}
100% {
background-color: #fff;
}
}

19 changes: 17 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,8 @@ <h4 style="color: white; font-size: 1em;">Imagination is more important than kno

<!-- ------------------Profile cards starts here----------------- -->

<div class="our-team"><h1>Technical Board Heads</h1>
<hr>
<div class="our-team container">
<div class="teamheading"></div>
</div>

<div class="cards-container container-fluid">
Expand Down Expand Up @@ -641,6 +641,21 @@ <h3>Riya Sheoran </h3>
</div>
<!---------X------ End Footer bottom Area -----------X-------->
</div>
<script>
const heading = "Meet the amazing Heads";
let i = 0;

const typing = () => {
if (i < heading.length) {
document.querySelector(".teamheading").innerHTML += heading.charAt(i);
i++;

setTimeout(typing, 150);
}
};

typing();
</script>

</body>
</html>
13 changes: 13 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const heading = "Please Meet Our Team";
let i = 0;

const typing = () => {
if (i < heading.length) {
document.querySelector(".heading").innerHTML += heading.charAt(i);
i++;

setTimeout(typing, 150);
}
};

typing();