|
| 1 | +<!-- Build Parallax Website With HTML CSS & Javascript by Simo Edwin - Dev Ed (2021) |
| 2 | +see: https://www.youtube.com/watch?v=Nt70Ld0dJCM --> |
| 3 | + |
| 4 | +<!DOCTYPE html> |
| 5 | +<html lang="en"> |
| 6 | + <head> |
| 7 | + <meta charset="UTF-8" /> |
| 8 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 9 | + <link rel="stylesheet" href="style.css" /> |
| 10 | + <title>Parallax Website</title> |
| 11 | + </head> |
| 12 | + <body> |
| 13 | + <section> |
| 14 | + <nav> |
| 15 | + <h4>yayavar</h4> |
| 16 | + <a class="button">Sign Up</a> |
| 17 | + </nav> |
| 18 | + <div class="container"> |
| 19 | + <h2 class="main-title">Explore.</h2> |
| 20 | + <img |
| 21 | + src="https://i.ibb.co/dK5zQgY/background.png" |
| 22 | + class="background" |
| 23 | + alt="" |
| 24 | + /> |
| 25 | + <img src="https://i.ibb.co/gwtNKDz/man.png" class="man" alt="" /> |
| 26 | + <img |
| 27 | + src="https://i.ibb.co/XJrwv0M/foreground.png" |
| 28 | + class="foreground" |
| 29 | + alt="" |
| 30 | + /> |
| 31 | + </div> |
| 32 | + <div class="content"> |
| 33 | + <div class="content-images"> |
| 34 | + <div> |
| 35 | + <img src="https://i.ibb.co/w4N157P/haridwar.jpg" alt="" /> |
| 36 | + <h4>Haridwar</h4> |
| 37 | + <h3>India</h3> |
| 38 | + </div> |
| 39 | + <div> |
| 40 | + <img src="https://i.ibb.co/v4yCXYS/rishikesh.jpg" alt="" /> |
| 41 | + <h4>Rishikesh</h4> |
| 42 | + <h3>India</h3> |
| 43 | + </div> |
| 44 | + </div> |
| 45 | + <p class="text"> |
| 46 | + Lorem, ipsum dolor sit amet consectetur adipisicing elit. Facere neque |
| 47 | + consequuntur a nisi, illo quia cupiditate fuga et eos minima |
| 48 | + voluptatum cum dolorum quas repellat eaque beatae vitae veritatis |
| 49 | + quae. |
| 50 | + </p> |
| 51 | + <p class="text"> |
| 52 | + Lorem, ipsum dolor sit amet consectetur adipisicing elit. Facere neque |
| 53 | + consequuntur a nisi, illo quia cupiditate fuga et eos minima |
| 54 | + voluptatum cum dolorum quas repellat eaque beatae vitae veritatis |
| 55 | + quae. |
| 56 | + </p> |
| 57 | + </div> |
| 58 | + </section> |
| 59 | + <script |
| 60 | + src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.6.1/gsap.min.js" |
| 61 | + integrity="sha512-cdV6j5t5o24hkSciVrb8Ki6FveC2SgwGfLE31+ZQRHAeSRxYhAQskLkq3dLm8ZcWe1N3vBOEYmmbhzf7NTtFFQ==" |
| 62 | + crossorigin="anonymous" |
| 63 | + ></script> |
| 64 | + <script src="https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.6/ScrollMagic.min.js"></script> |
| 65 | + <script src="https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.6/plugins/animation.gsap.js"></script> |
| 66 | + <script src="script.js"></script> |
| 67 | + </body> |
| 68 | +</html> |
0 commit comments