A modern animated authentication UI built with HTML, CSS, and JavaScript. Features a smooth sliding transition between Sign In and Sign Up forms with a polished overlay effect and social login placeholders
- HTML5 β semantic structure
- CSS3 β animations, transitions & layout
- JavaScript (Vanilla) β interaction logic
- Font Awesome 7 β brand icons
- Google Fonts (Montserrat) β modern typography
- Dual Authentication Forms β Sign In & Sign Up in a single layout
- Smooth Toggle Animation β Sliding panels with layered transitions
- Overlay Panel Effect β Interactive welcome screens
- Responsive Design β Works across screen sizes
- Reusable Structure β Easy to plug into any frontend project
- Minimal JavaScript β Class-based state handling
- Gradient overlay background
- Animated form switching using CSS transforms
- Built-in social login icon layout
- Rounded modern card layout
- Clean and centered authentication flow
The goal was to build a modern authentication interface without any framework β just clean HTML, CSS, and JavaScript.
The core idea revolves around toggling a single CSS class active on the container.
This class triggers :-
- form translations
- opacity changes
- z-index swaps
- animated overlay movement
CSS handles most of the heavy lifting, while JavaScript simply controls state. This keeps the UI smooth, readable, and easy to maintain.
- Two form containers (sign-in, sign-up)
- One toggle container for overlay transitions
- Controlled animations using transform, opacity, and z-index
- @keyframes for smooth transitions
- Gradient overlay with layered positioning
- Event listeners on Sign In / Sign Up buttons
- Toggles .active class on the main container
- Advanced CSS animations and transitions
- Layered UI effects without libraries
- State-driven UI with minimal JavaScript
- Clean separation of structure, style, and logic
