-
Notifications
You must be signed in to change notification settings - Fork 602
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from PranavBarthwal/type
added typed text in hero section
- Loading branch information
Showing
1 changed file
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,7 @@ | |
<div class="header__content"> | ||
<div> | ||
<p class="sub__header">Book Now</p> | ||
<h1>Find Your Perfect Getaway<br />Discover the World's Best Kept Secrets</h1> | ||
<h1>Find Your Perfect Getaway<br />Discover the World's Best Kept <span class="auto-typed" style="color: slateblue;"></span></h1> | ||
<p class="section__subtitle"> | ||
Make your travel more enjoyable with us. We are the best travel | ||
agency and we are providing the best travel services for our | ||
|
@@ -435,6 +435,17 @@ <h4>Connect With Us</h4> | |
} | ||
</script> | ||
|
||
<!-- typing animation --> | ||
<script src="https://unpkg.com/[email protected]/dist/typed.umd.js"></script> | ||
<script> | ||
var typed = new Typed(".auto-typed", { | ||
strings : ["Wonders", "Gems", "Secrets"], | ||
typeSpeed : 150, | ||
backSpeed : 50, | ||
loop : true | ||
}) | ||
</script> | ||
|
||
</body> | ||
<script> | ||
function replaceDivs() { | ||
|