Category · Navigation Menus Difficulty Level · Intermediate Published on · January 15, 2024

Glassmorphism Floating Menu

A modern floating navigation menu with glassmorphism effect, backdrop blur, and smooth hover animations

#glassmorphism #floating #menu #navigation #modern #blur #transparent

Responsive Design

Yes

Dark Mode Support

No

lines

309

Browser Compatibility

No

Live Preview

Interact with the component without leaving the page.

300px

Glassmorphism Floating Menu

A modern floating navigation menu featuring glassmorphism design with backdrop blur effects, smooth animations, and responsive mobile support.

Features

  • Glassmorphism Effect: Semi-transparent background with backdrop blur
  • Floating Design: Fixed positioning with elegant shadow effects
  • Smooth Animations: Hover effects and transitions
  • Responsive: Mobile-friendly with hamburger menu
  • Dynamic Background: Animated floating shapes
  • Modern Styling: Clean and contemporary design

Usage

Perfect for:

  • Modern websites
  • Portfolio sites
  • Creative agencies
  • Tech startups
  • Any project requiring a contemporary navigation

The menu automatically adapts to different screen sizes and includes interactive elements for enhanced user experience.

HTML

26

lines

CSS

205

lines

JavaScript

78

lines


                <nav class="glassmorphism-menu">
  <div class="menu-container">
    <div class="logo">
      <span class="logo-text">GLASS</span>
    </div>
    <ul class="menu-items">
      <li><a href="#" class="menu-link">Home</a></li>
      <li><a href="#" class="menu-link">About</a></li>
      <li><a href="#" class="menu-link">Services</a></li>
      <li><a href="#" class="menu-link">Portfolio</a></li>
      <li><a href="#" class="menu-link">Contact</a></li>
    </ul>
    <div class="menu-toggle">
      <span></span>
      <span></span>
      <span></span>
    </div>
  </div>
</nav>

<!-- Background for glassmorphism effect -->
<div class="background">
  <div class="shape shape-1"></div>
  <div class="shape shape-2"></div>
  <div class="shape shape-3"></div>
</div>

              
26lines
765characters
HTMLLanguage

Related Code Snippets

Explore template packs

Need larger building blocks? Browse responsive landing pages and component bundles.

Open HTML Template Library →