Skip to content

moriletech000/Css-Motion-Gallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSS Motion Gallery

A premium CSS animation showcase featuring cutting-edge motion design, interactive effects, and futuristic UI components. This project demonstrates advanced CSS animations, particle systems, and interactive JavaScript effects.

Features

Animation Showcases

  • Magnetic hover effects with dynamic positioning
  • Glitch typography with multi-layer text distortion
  • Glassmorphism UI components with backdrop blur
  • Neon glow effects with pulsing animations
  • Orbital loaders with multi-ring rotation
  • Interactive particle systems with mouse tracking

Button Effects Lab

  • Liquid fill buttons with smooth transitions
  • Magnetic buttons with field effects
  • Neon glow buttons with cyberpunk aesthetics
  • Particle burst effects on interaction
  • Border trace animations with gradient flow
  • Holographic buttons with shine effects

Typography in Motion

  • Split letter animations with staggered reveals
  • Typewriter effects with blinking cursor
  • Wave text animations with sequential motion
  • Gradient text with animated color shifts

Loading States

  • Spinning rings with multi-directional rotation
  • Morphing blob animations
  • Wave bars with synchronized motion
  • Matrix grid loaders with pulsing dots

Interactive Features

  • Custom cursor with glow effects
  • Smooth scroll animations
  • Parallax effects on floating elements
  • Card tilt effects with 3D transforms
  • Scroll-triggered reveal animations
  • Real-time particle systems with canvas rendering

Project Structure

CSS animation showcase/
├── index.html              # Main HTML file
├── css/
│   ├── style.css          # Core styles and layout
│   ├── animations.css     # Animation keyframes and effects
│   └── responsive.css     # Responsive design breakpoints
├── js/
│   ├── main.js           # Main application logic
│   ├── interactions.js   # Interactive effects classes
│   ├── particles.js      # Particle system implementations
│   └── scroll.js         # Scroll effects and animations
└── README.md             # Project documentation

Technologies Used

  • HTML5
  • CSS3 (Advanced animations, transforms, filters)
  • JavaScript (ES6+)
  • Canvas API for particle systems
  • Intersection Observer API for scroll effects
  • CSS Custom Properties (CSS Variables)

Browser Compatibility

  • Chrome 90+
  • Firefox 88+
  • Safari 14+
  • Edge 90+

Note: Some advanced effects may have reduced performance on older browsers or mobile devices.

Installation

  1. Clone or download the repository
  2. Open index.html in a modern web browser
  3. No build process or dependencies required

Usage

Basic Setup

Simply open the index.html file in your browser to view the showcase.

Customization

Colors

Edit CSS variables in css/style.css:

:root {
  --accent-coral: #FF7A59;
  --accent-pink: #F8BBD9;
  --accent-yellow: #F4E04D;
  --accent-teal: #2D9596;
  --accent-blue: #4DA6FF;
  --accent-cyan: #22D3EE;
  --accent-purple: #8B5CF6;
}

Fonts

The project uses Google Fonts. Modify the font imports in index.html:

  • Space Grotesk (Primary UI font)
  • Inter (Secondary font)
  • Dancing Script (Hero titles)
  • Lobster Two (Section headers)
  • Caveat (Logo and navigation)
  • DM Serif Display (Paragraphs)

Particle System

Adjust particle settings in js/particles.js:

new ParticleSystem(canvas, {
  particleCount: 80,
  particleSize: 2,
  particleSpeed: 0.3,
  connectionDistance: 120,
  mouseRadius: 200
});

Performance Optimization

The project includes several performance optimizations:

  • GPU-accelerated animations using transform and opacity
  • Throttled scroll and resize event handlers
  • Intersection Observer for lazy loading animations
  • RequestAnimationFrame for smooth animations
  • Reduced motion support for accessibility

Accessibility

  • Semantic HTML structure
  • ARIA labels where appropriate
  • Keyboard navigation support
  • Reduced motion media query support
  • High contrast text and backgrounds

Key Components

Custom Cursor

A custom cursor with glow effects that follows mouse movement and responds to interactive elements.

Loading Screen

Animated loading screen with progress bar and floating particles.

Navigation

Sticky navigation with scroll effects and mobile-responsive menu.

Hero Section

Full-screen hero with animated title, particle background, and gradient blobs.

Animation Cards

Interactive cards showcasing different animation techniques with hover effects.

Playground

Interactive controls to manipulate animation properties in real-time:

  • Animation speed control
  • Scale adjustment
  • Rotation control
  • Play/pause functionality

Code Structure

CSS Architecture

  • CSS Custom Properties for theming
  • BEM-inspired naming conventions
  • Mobile-first responsive design
  • Modular animation definitions

JavaScript Architecture

  • Class-based components
  • Event delegation for performance
  • Modular effect systems
  • Utility functions for common operations

Known Issues

  • Custom cursor disabled on mobile devices for better UX
  • Some animations may have reduced performance on low-end devices
  • Smooth scroll feature is optional and can be disabled for compatibility

Future Enhancements

  • Additional animation presets
  • Animation timeline controls
  • Export animation code snippets
  • Dark/light theme toggle
  • More interactive playground features

Credits

Designed and developed as a showcase of modern CSS animation techniques and interactive web design patterns.

License

This project is open source and available for educational and personal use.

Contact

For questions, suggestions, or collaboration opportunities, please reach out through the contact section on the website.


Built with passion for motion design and modern web technologies.

About

A premium CSS animation showcase featuring cutting-edge motion design, interactive effects, and futuristic UI components with particle systems and advanced JavaScript interactions

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors