Skip to content

Commit

Permalink
added transition effects in feature section (Opentek-Org#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
Illaf authored Jun 8, 2023
1 parent f896b27 commit 9882a85
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 7 deletions.
2 changes: 1 addition & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ p {
=============================*/

#banner {
padding: 200px 0 100px;
padding: 128px 0 100px;
position: relative;
width: 100%;
}
Expand Down
27 changes: 21 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="en">
<html prefix="og: https://ogp.me/ns#">
<head>
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
Expand All @@ -21,6 +22,8 @@
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"
></script>


<meta charset="UTF-8" />
<meta
name="viewport"
Expand Down Expand Up @@ -218,6 +221,8 @@
href="icons/apple-splash-1136-640.jpg"
media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"
/>


</head>

<body id="dark-mode">
Expand Down Expand Up @@ -323,7 +328,7 @@
<div class="container zindex">
<div class="row">
<div class="col-lg-12 banner-txt">
<h3 id="text">An Open Source Treasure</h3>
<h3 id="text" class="slide-transition">An Open Source Treasure</h3>
<h1 id="text-down">
If it is about Open Source, it is on Opentek.
</h1>
Expand All @@ -344,7 +349,7 @@ <h3>FEA<span>TU</span>RES</h3>
<div class="row over-pa">
<div class="col-lg-9 col-sm-12 m-auto">
<div class="row">
<div class="col-lg-6 col-sm-6">
<div class="col-lg-6 col-sm-6 " data-aos="fade-right">
<div class="over-item txt-right unique-style3">
<i class="fa fa-bars over-i" aria-hidden="true"></i>
<div class="break"></div>
Expand Down Expand Up @@ -372,7 +377,7 @@ <h3>Events</h3>
</div>
</div>
</div>
<div class="col-lg-6 col-sm-6">
<div class="col-lg-6 col-sm-6 " data-aos="fade-left">
<div class="over-item txt-left unique-style">
<i class="far fa-check-circle over-i"></i>
<div class="break"></div>
Expand Down Expand Up @@ -400,7 +405,7 @@ <h3>Programs</h3>
</div>
</div>
</div>
<div class="col-lg-6 col-sm-6">
<div class="col-lg-6 col-sm-6 " data-aos="fade-right">
<div class="over-item txt-right unique-style2">
<i class="far fa-star over-i" aria-hidden="true"></i>
<div class="break"></div>
Expand All @@ -416,7 +421,7 @@ <h3>Projects</h3>
</div>
</div>
</div>
<div class="col-lg-6 col-sm-6">
<div class="col-lg-6 col-sm-6 " data-aos="fade-left">
<div class="over-item txt-left unique-style4">
<i class="fas fa-terminal over-i" aria-hidden="true"></i>
<div class="break"></div>
Expand All @@ -433,7 +438,7 @@ <h3>Tutorials</h3>
</div>
</div>
<!-- *********************** -->
<div class="col-lg-6 col-sm-6">
<div class="col-lg-6 col-sm-6 " data-aos="fade-right">
<div class="over-item txt-right unique-style5">
<i class="fas fa-blog over-i" aria-hidden="true"></i>
<div class="break"></div>
Expand Down Expand Up @@ -752,6 +757,16 @@ <h2>
<script defer src="js/circular.js"></script>
<script defer src="js/custom.js"></script>
<script src="js/auth0.js"></script>
<!-- aos data -->
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init(
{
ofset:300,
duration:1000,
}
);
</script>
</body>
</html>
</html>

0 comments on commit 9882a85

Please sign in to comment.