Add modern landing page with scroll animations and content reveal effects#2
Draft
Copilot wants to merge 2 commits into
Draft
Add modern landing page with scroll animations and content reveal effects#2Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Agent-Logs-Url: https://github.com/bikashdev01/First-Section-Code/sessions/a8b54e96-476f-47df-b272-d63625a0b41f Co-authored-by: bikashdev01 <[email protected]>
Copilot
AI
changed the title
[WIP] Add modern landing page with scroll animations and content reveal effects
Add modern landing page with scroll animations and content reveal effects
Apr 5, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Creates a complete, self-contained landing page (
landing-page/) using HTML5, CSS3, and vanilla JS — featuring scroll-triggered reveal animations, parallax effects, animated counters, and a fully responsive layout.Structure
index.html— Semantic markup across 8 sections: Hero, Features (6 cards), About, Stats, CTA Banner, Testimonials (6 cards), Newsletter, Footerstyle.css— CSS custom property-based design system (dark navy + purple/cyan accents), glassmorphism nav/cards,@keyframesfor blobs/particles/floats, responsive at 1024/768/480pxscript.js— All interaction logic in a single IIFEKey Implementations
Scroll animations (Intersection Observer)
Reveal classes (
.reveal-up,.reveal-left,.reveal-right) start atopacity:0+ offset transform;.visibletransitions to natural position. Stagger controlled viadata-delayattribute.Performance — single rAF-throttled scroll handler drives the progress bar, active nav link, and scroll-to-top visibility simultaneously.
Animated counters — ease-out cubic easing via
requestAnimationFrame, triggered once on IO entry at 50% threshold.Parallax — hero background blobs shift at different rates (
0.06x/0.04xscroll offset), clamped to hero height to avoid drift into lower sections.Mobile nav — slide-in drawer (280px) with backdrop overlay, body scroll lock, and auto-close on link click.
Hero mockup — pure CSS animated bar chart + floating badges to avoid external image dependencies.
Original prompt
This pull request was created from Copilot chat.