Luxury Perfume Website Animation with GSAP
Luxury Perfume Website Animation with GSAP
Luxury Perfume Website Animation with GSAP
Overview
This is an interactive high–end perfume website that provides a luxurious moment for the user. It employs elegant typography, smooth GSAP animations, and a cinematic video background to offer a browsing experience that is all–consuming. The layout reflects how modern magazines are created but engages the user with motion-based storytelling that suits showcasing luxury perfume collections.
Project Structure
Before we begin, create the following file structure:
luxury perfume website/
β
βββ index.html
βββ style.css
βββ script.js
βββ images/
Β Β Β Β Β Β Β βββ perfume1.png
Β Β Β Β Β Β Β βββ perfume2.png
Β Β Β Β Β Β Β βββ logo.png
Β
π§± Step 1: Navbar
A minimal fixed position nav at the top, with:
- Brand logo on the left
- Navigation icons (search, cart, and menu) on the right to improve user experience
- Remix Icons to maintain modern aesthetics.
<div class=”navbar”>
Β Β Β <div class=”logo”><img src=”images/logo.png” alt=”Logo”></div>
Β Β Β <div class=”nav-icons icons”>
Β Β Β Β Β <a href=”#”><i class=”ri-search-line”></i></a>
Β Β Β Β Β <a href=”#”><i class=”ri-shopping-bag-line”></i></a>
Β Β Β </div>
</div>
π§± Step 2: Hero Section
This section grabs the user‘s attention right away with a bold heading, a short tagline, and a button that triggers animations.
<div class=”hero-text”>
Β Β Β <h5>THE ESSENCE OF ELEGANCE</h5>
Β Β Β <h1>EXPERIENCE THE LUXURY PERFUME COLLECTION</h1>
Β Β Β <button class=”btn explore-btn” id=”exploreBtn”>EXPLORE</button>
</div>
- Smooth animation for entering content, using GSAP (gsap.from() and ScrollTrigger).
- Background shapes fade and slide in to provide luxurious vibes.
- The Explore button triggers the user into a deeper “Explore Mode.“
π§± Step 3: Video Section π₯
Adding a video section in this layout allows for improved storytelling, and a more immersive brand feel.
The background can be a video or clip of product reveal that repeats seamlessly.
Β
Reasons for adding:
Β
- Entices the personality of a cinematic and luxurious perfume brand.
- Helps users create emotional connections with the fragrance and the story they are about to enjoy.
- And adds depth of visuals, is interactive, and then scrolls into view with GSAP animation.
HTML Example:
<section class=”video-section”>
Β Β Β <video autoplay muted loop playsinline>
Β Β Β Β Β Β <source src=”images/perfume-ad.mp4″ type=”video/mp4″>
Β Β Β </video>
Β Β Β <div class=”video-overlay”>
Β Β Β Β Β Β <h2>Luxury That Speaks in Fragrance</h2>
Β Β Β </div>
</section>
GSAP Animation Example:
gsap.from(“.video-overlay h2”, {
Β Β scrollTrigger: “.video-section”,
Β Β y: 100,
Β Β opacity: 0,
Β Β duration: 1.2,
Β Β ease: “power3.out”
});
π§± Step 4: Explore Mode
After clicking the “Explore“ button, the least shifts to an explore mode. The mode includes much larger images with close–up views of the product, and offers at least three variations of color and pricing.
const body = document.body;
const exploreBtn = document.getElementById(“exploreBtn”);
const backBtn = document.getElementById(“backBtn”);
Β
exploreBtn.addEventListener(“click”, () => {
Β Β Β body.classList.add(“explore-active”);
});
Β
backBtn.addEventListener(“click”, () => {
Β Β Β body.classList.remove(“explore-active”);
});
π§± Step5: Footer
Β
- Social icons
- Brand information
- Animated footer text that fades in with GSAP
<footer>
<div class=”social icons”>
<a href=”#”><i class=”ri-twitter-fill”></i></a>
<a href=”#”><i class=”ri-instagram-fill”></i></a>
<a href=”#”><i class=”ri-facebook-fill”></i></a>
</div>
<p>Β© 2025 KUUM Perfume. All Rights Reserved.</p>
</footer>
This code enables the website to be fully interactive without an external animation library, and provides simple yet dynamic transitions.
π§± Step6: Footer & Social Links
The footer includes:
- Attribution to the developer
- Animated social media icons that raise and glow on hover.
<footer>
Β Β <div class=”social icons”>
Β Β Β Β Β <a href=”#”><i class=”ri-twitter-fill”></i></a>
Β Β Β Β Β <a href=”#”><i class=”ri-instagram-fill”></i></a>
Β Β Β Β Β <a href=”#”><i class=”ri-facebook-fill”></i></a>
Β Β </div>
Β Β <p>Β© 2025 KUUM Perfume. All Rights Reserved.</p>
</footer>
β¨ Features
- GSAP – Animations in to scene, and revealing the hero font, along with some of the video overlaying fade in animations.
- Video – Not only does a product give you an emotional experience, but video adds motion.
- Responsive – On finish, Responsive and beautifully laid out down to phone size
- Explore Mode – Redesigned the layout in to an explore layout with transition Button
- Effects – Animated hover button interaction effects and changing background colour
π§© Technologies Used
- HTML5 & CSS3 for structure and styling
- GSAP + ScrollTrigger for animation and transitions
- Remix Icons for clean iconography
- Flexbox / Grid for responsive layouts.
Design Synth
Welcome to Design Synth! Enter the world of web design, where art meets code. Find awesome designs, practice new techniques, and churn out stunning digital experiences that excite and engage an audience.
Popular Posts
Explore Topics
- Card Design (4)
- Carousel (2)
- CSS and HTML (10)
- Design Synth (11)
- Form Designs (1)
- GSAP (4)
- Header Design (8)
- Hover Effect (4)
- JavaScript (9)
- Navbar Designs (4)
- Parallax (1)
- Slider Designs (2)
- Template Designs (3)
- WordPress (1)
Tag Clouds
- Animation Effects
- Animation Image
- Animation Text
- AOS Animation
- Button
- Card Design
- Cards Design
- Carousel
- Code Tutorials
- Creative Web Templates
- CSS and HTML
- Design Synth
- Effect Image
- Effect Scroll
- Form Design
- Form Designs
- Free Website Template
- Front-End Design
- Glassmorphism Design
- GSAP Animation
- Halloween
- Header Design
- Hover Effects
- HTML
- HTML CSS Projects
- JavaScript
- JS
- Modern Website Design
- Navbar Design
- Navbar Designs
- Parallax Effect
- Parallax Scroll CSS
- Plane Website
- Responsive
- Responsive Design
- Slider Design
- Slider Designs
- SVG
- Tailwind CSS
- Template Designs
- UI Design
- UX Design
- Web Design
- Web Development
- Website Templates
- WordPress Website
Overview
This is an interactive high–end perfume website that provides a luxurious moment for the user. It employs elegant typography, smooth GSAP animations, and a cinematic video background to offer a browsing experience that is all–consuming. The layout reflects how modern magazines are created but engages the user with motion-based storytelling that suits showcasing luxury perfume collections.
Project Structure
Before we begin, create the following file structure:
luxury perfume website/
β
βββ index.html
βββ style.css
βββ script.js
βββ images/
Β Β Β Β Β Β Β βββ perfume1.png
Β Β Β Β Β Β Β βββ perfume2.png
Β Β Β Β Β Β Β βββ logo.png
Β
π§± Step 1: Navbar
A minimal fixed position nav at the top, with:
- Brand logo on the left
- Navigation icons (search, cart, and menu) on the right to improve user experience
- Remix Icons to maintain modern aesthetics.
<div class=”navbar”>
Β Β Β <div class=”logo”><img src=”images/logo.png” alt=”Logo”></div>
Β Β Β <div class=”nav-icons icons”>
Β Β Β Β Β <a href=”#”><i class=”ri-search-line”></i></a>
Β Β Β Β Β <a href=”#”><i class=”ri-shopping-bag-line”></i></a>
Β Β Β </div>
</div>
π§± Step 2: Hero Section
This section grabs the user‘s attention right away with a bold heading, a short tagline, and a button that triggers animations.
<div class=”hero-text”>
Β Β Β <h5>THE ESSENCE OF ELEGANCE</h5>
Β Β Β <h1>EXPERIENCE THE LUXURY PERFUME COLLECTION</h1>
Β Β Β <button class=”btn explore-btn” id=”exploreBtn”>EXPLORE</button>
</div>
- Smooth animation for entering content, using GSAP (gsap.from() and ScrollTrigger).
- Background shapes fade and slide in to provide luxurious vibes.
- The Explore button triggers the user into a deeper “Explore Mode.“
π§± Step 3: Video Section π₯
Adding a video section in this layout allows for improved storytelling, and a more immersive brand feel.
The background can be a video or clip of product reveal that repeats seamlessly.
Β
Reasons for adding:
Β
- Entices the personality of a cinematic and luxurious perfume brand.
- Helps users create emotional connections with the fragrance and the story they are about to enjoy.
- And adds depth of visuals, is interactive, and then scrolls into view with GSAP animation.
HTML Example:
<section class=”video-section”>
Β Β Β <video autoplay muted loop playsinline>
Β Β Β Β Β Β <source src=”images/perfume-ad.mp4″ type=”video/mp4″>
Β Β Β </video>
Β Β Β <div class=”video-overlay”>
Β Β Β Β Β Β <h2>Luxury That Speaks in Fragrance</h2>
Β Β Β </div>
</section>
GSAP Animation Example:
gsap.from(“.video-overlay h2”, {
Β Β scrollTrigger: “.video-section”,
Β Β y: 100,
Β Β opacity: 0,
Β Β duration: 1.2,
Β Β ease: “power3.out”
});
π§± Step 4: Explore Mode
After clicking the “Explore“ button, the least shifts to an explore mode. The mode includes much larger images with close–up views of the product, and offers at least three variations of color and pricing.
const body = document.body;
const exploreBtn = document.getElementById(“exploreBtn”);
const backBtn = document.getElementById(“backBtn”);
Β
exploreBtn.addEventListener(“click”, () => {
Β Β Β body.classList.add(“explore-active”);
});
Β
backBtn.addEventListener(“click”, () => {
Β Β Β body.classList.remove(“explore-active”);
});
π§± Step5: Footer
Β
- Social icons
- Brand information
- Animated footer text that fades in with GSAP
<footer>
<div class=”social icons”>
<a href=”#”><i class=”ri-twitter-fill”></i></a>
<a href=”#”><i class=”ri-instagram-fill”></i></a>
<a href=”#”><i class=”ri-facebook-fill”></i></a>
</div>
<p>Β© 2025 KUUM Perfume. All Rights Reserved.</p>
</footer>
This code enables the website to be fully interactive without an external animation library, and provides simple yet dynamic transitions.
π§± Step6: Footer & Social Links
The footer includes:
- Attribution to the developer
- Animated social media icons that raise and glow on hover.
<footer>
Β Β <div class=”social icons”>
Β Β Β Β Β <a href=”#”><i class=”ri-twitter-fill”></i></a>
Β Β Β Β Β <a href=”#”><i class=”ri-instagram-fill”></i></a>
Β Β Β Β Β <a href=”#”><i class=”ri-facebook-fill”></i></a>
Β Β </div>
Β Β <p>Β© 2025 KUUM Perfume. All Rights Reserved.</p>
</footer>
β¨ Features
- GSAP – Animations in to scene, and revealing the hero font, along with some of the video overlaying fade in animations.
- Video – Not only does a product give you an emotional experience, but video adds motion.
- Responsive – On finish, Responsive and beautifully laid out down to phone size
- Explore Mode – Redesigned the layout in to an explore layout with transition Button
- Effects – Animated hover button interaction effects and changing background colour
π§© Technologies Used
- HTML5 & CSS3 for structure and styling
- GSAP + ScrollTrigger for animation and transitions
- Remix Icons for clean iconography
- Flexbox / Grid for responsive layouts.
Design Synth
Welcome to Design Synth! Enter the world of web design, where art meets code. Find awesome designs, practice new techniques, and churn out stunning digital experiences that excite and engage an audience.
Popular Posts
Explore Topics
- Card Design (4)
- Carousel (2)
- CSS and HTML (10)
- Design Synth (11)
- Form Designs (1)
- GSAP (4)
- Header Design (8)
- Hover Effect (4)
- JavaScript (9)
- Navbar Designs (4)
- Parallax (1)
- Slider Designs (2)
- Template Designs (3)
- WordPress (1)
Tag Clouds
- Animation Effects
- Animation Image
- Animation Text
- AOS Animation
- Button
- Card Design
- Cards Design
- Carousel
- Code Tutorials
- Creative Web Templates
- CSS and HTML
- Design Synth
- Effect Image
- Effect Scroll
- Form Design
- Form Designs
- Free Website Template
- Front-End Design
- Glassmorphism Design
- GSAP Animation
- Halloween
- Header Design
- Hover Effects
- HTML
- HTML CSS Projects
- JavaScript
- JS
- Modern Website Design
- Navbar Design
- Navbar Designs
- Parallax Effect
- Parallax Scroll CSS
- Plane Website
- Responsive
- Responsive Design
- Slider Design
- Slider Designs
- SVG
- Tailwind CSS
- Template Designs
- UI Design
- UX Design
- Web Design
- Web Development
- Website Templates
- WordPress Website
Overview
This is an interactive high–end perfume website that provides a luxurious moment for the user. It employs elegant typography, smooth GSAP animations, and a cinematic video background to offer a browsing experience that is all–consuming. The layout reflects how modern magazines are created but engages the user with motion-based storytelling that suits showcasing luxury perfume collections.
Project Structure
Before we begin, create the following file structure:
luxury perfume website/
β
βββ index.html
βββ style.css
βββ script.js
βββ images/
Β Β Β Β Β Β Β βββ perfume1.png
Β Β Β Β Β Β Β βββ perfume2.png
Β Β Β Β Β Β Β βββ logo.png
π§± Step 1: Navbar
A minimal fixed position nav at the top, with:
- Brand logo on the left
- Navigation icons (search, cart, and menu) on the right to improve user experience
- Remix Icons to maintain modern aesthetics.
<div class=”navbar”>
Β Β Β <div class=”logo”><img src=”images/logo.png” alt=”Logo”></div>
Β Β Β <div class=”nav-icons icons”>
Β Β Β Β Β <a href=”#”><i class=”ri-search-line”></i></a>
Β Β Β Β Β <a href=”#”><i class=”ri-shopping-bag-line”></i></a>
Β Β Β </div>
</div>
π§± Step 2: Hero Section
This section grabs the user‘s attention right away with a bold heading, a short tagline, and a button that triggers animations.
<div class=”hero-text”>
Β Β Β <h5>THE ESSENCE OF ELEGANCE</h5>
Β Β Β <h1>EXPERIENCE THE LUXURY PERFUME COLLECTION</h1>
Β Β Β <button class=”btn explore-btn” id=”exploreBtn”>EXPLORE</button>
</div>
- Smooth animation for entering content, using GSAP (gsap.from() and ScrollTrigger).
- Background shapes fade and slide in to provide luxurious vibes.
- The Explore button triggers the user into a deeper “Explore Mode.“
π§± Step 3: Video Section π₯
Adding a video section in this layout allows for improved storytelling, and a more immersive brand feel.
The background can be a video or clip of product reveal that repeats seamlessly.
Reasons for adding:
- Entices the personality of a cinematic and luxurious perfume brand.
- Helps users create emotional connections with the fragrance and the story they are about to enjoy.
- And adds depth of visuals, is interactive, and then scrolls into view with GSAP animation.
HTML Example:
<section class=”video-section”>
Β Β Β <video autoplay muted loop playsinline>
Β Β Β Β Β Β <source src=”images/perfume-ad.mp4″ type=”video/mp4″>
Β Β Β </video>
Β Β Β <div class=”video-overlay”>
Β Β Β Β Β Β <h2>Luxury That Speaks in Fragrance</h2>
Β Β Β </div>
</section>
GSAP Animation Example:
gsap.from(“.video-overlay h2”, {
Β Β scrollTrigger: “.video-section”,
Β Β y: 100,
Β Β opacity: 0,
Β Β duration: 1.2,
Β Β ease: “power3.out”
});
π§± Step 4: Explore Mode
After clicking the “Explore“ button, the least shifts to an explore mode. The mode includes much larger images with close–up views of the product, and offers at least three variations of color and pricing.
const body = document.body;
const exploreBtn = document.getElementById(“exploreBtn”);
const backBtn = document.getElementById(“backBtn”);
exploreBtn.addEventListener(“click”, () => {
Β Β Β body.classList.add(“explore-active”);
});
backBtn.addEventListener(“click”, () => {
Β Β Β body.classList.remove(“explore-active”);
});
π§± Step5: Footer
Β
- Social icons
- Brand information
- Animated footer text that fades in with GSAP
<footer>
<div class=”social icons”>
<a href=”#”><i class=”ri-twitter-fill”></i></a>
<a href=”#”><i class=”ri-instagram-fill”></i></a>
<a href=”#”><i class=”ri-facebook-fill”></i></a>
</div>
<p>Β© 2025 KUUM Perfume. All Rights Reserved.</p>
</footer>
This code enables the website to be fully interactive without an external animation library, and provides simple yet dynamic transitions.
π§± Step6: Footer & Social Links
The footer includes:
- Attribution to the developer
- Animated social media icons that raise and glow on hover.
<footer>
Β Β <div class=”social icons”>
Β Β Β Β Β <a href=”#”><i class=”ri-twitter-fill”></i></a>
Β Β Β Β Β <a href=”#”><i class=”ri-instagram-fill”></i></a>
Β Β Β Β Β <a href=”#”><i class=”ri-facebook-fill”></i></a>
Β Β </div>
Β Β <p>Β© 2025 KUUM Perfume. All Rights Reserved.</p>
</footer>
β¨ Features
- GSAP – Animations in to scene, and revealing the hero font, along with some of the video overlaying fade in animations.
- Video – Not only does a product give you an emotional experience, but video adds motion.
- Responsive – On finish, Responsive and beautifully laid out down to phone size
- Explore Mode – Redesigned the layout in to an explore layout with transition Button
- Effects – Animated hover button interaction effects and changing background colour
π§© Technologies Used
- HTML5 & CSS3 for structure and styling
- GSAP + ScrollTrigger for animation and transitions
- Remix Icons for clean iconography
- Flexbox / Grid for responsive layouts.
Design Synth
Welcome to Design Synth! Enter the world of web design, where art meets code. Find awesome designs, practice new techniques, and churn out stunning digital experiences that excite and engage an audience.
Popular Posts
Explore Topics
- Card Design (4)
- Carousel (2)
- CSS and HTML (10)
- Design Synth (11)
- Form Designs (1)
- GSAP (4)
- Header Design (8)
- Hover Effect (4)
- JavaScript (9)
- Navbar Designs (4)
- Parallax (1)
- Slider Designs (2)
- Template Designs (3)
- WordPress (1)
Tag Clouds
- Animation Effects
- Animation Image
- Animation Text
- AOS Animation
- Button
- Card Design
- Cards Design
- Carousel
- Code Tutorials
- Creative Web Templates
- CSS and HTML
- Design Synth
- Effect Image
- Effect Scroll
- Form Design
- Form Designs
- Free Website Template
- Front-End Design
- Glassmorphism Design
- GSAP Animation
- Halloween
- Header Design
- Hover Effects
- HTML
- HTML CSS Projects
- JavaScript
- JS
- Modern Website Design
- Navbar Design
- Navbar Designs
- Parallax Effect
- Parallax Scroll CSS
- Plane Website
- Responsive
- Responsive Design
- Slider Design
- Slider Designs
- SVG
- Tailwind CSS
- Template Designs
- UI Design
- UX Design
- Web Design
- Web Development
- Website Templates
- WordPress Website