A modern web showcase featuring advanced CSS scroll-driven animations for a tech company portfolio.
👉 https://vasylpryimakdev.github.io/cipherstream-animations/
- Hero Section: Parallax video layers with smooth transitions
- Navigation Header: Dynamic height and background color changes on scroll
- Team Section: Horizontal scrolling grid with 3D image rotations
- Background Animations: Color transitions and neon effects
- CSS
view-timelineandtimeline-scope - Scroll-driven keyframe animations
- Sticky positioning with animated backgrounds
- 3D transforms and clip-path animations
- SVG stroke animations with neon glow effects
exercise-3/
|-- css/
| |-- base.css # Base styles and timeline scope
| |-- hero.css # Hero section animations
| |-- nav.css # Navigation scroll animations
| |-- team.css # Team section scroll animations
| |-- features.css # Feature cards styling
| |-- services.css # Services section styling
| |-- footer.css # Footer styling
| |-- styles.css # Main stylesheet imports
|-- assets/
| |-- *.mp4 # Background videos
| |-- *.svg # Icons and logos
| |-- *.jpg # Team member images
|-- index.html # Main HTML structure
|-- script.js # JavaScript functionality
|-- README.md # This file
- Timeline:
--hero-view(hero section scroll) - Range:
exit-crossing 50%toexit-crossing 70% - Effect: Transitions from full height (100px) to compact height with background
- Timeline:
--team-view(team section scroll) - Effects:
- Horizontal grid movement (
moveTeamGrid) - 3D image rotation (
rotateTeamMemberImage) - Background color transitions (
teamBg) - Title fade-in (
titleAppear) - Card appearance with clip-path (
cardAppear) - SVG logo drawing with neon glow (
drawLogo,neon)
- Horizontal grid movement (
- HTML5: Semantic markup with accessibility features
- CSS3: Modern scroll-driven animations
- JavaScript: Basic interactivity
- Google Fonts: Poppins and Roboto Mono font families
This project uses modern CSS scroll-driven animations. Best viewed in browsers that support:
view-timelineCSS propertyanimation-timelineCSS propertyanimation-rangeCSS property
Recommended browsers:
- Chrome 115+
- Edge 115+
- Safari 16.4+
- Firefox 108+
- Clone the repository
git clone https://github.com/vasylpryimakdev/cipherstream-animations.git
cd cipherstream-animations- Open
index.htmlin a modern web browser - Scroll through the page to experience the animations
Modify the animation-range values in CSS files to control when animations trigger:
.example {
animation-timeline: --section-view;
animation-range: entry-crossing 20% entry-crossing 80%;
}Adjust animation duration and timing functions:
@keyframes example {
to {
transform: translateX(-100%);
}
}
.example {
animation: linear 1s both example;
}Update CSS custom properties in base.css:
:root {
--bg: #0a120f;
--green: #4ade80;
--header-height: 60px;
}