DevPlatform
Home
Components
Search
Submit
Earn
Login
Sign Up Free
Black footer - Preview | DevPlatform
DevPlatform
Categories
Accordion
Animation
Box Shadow
Button
Card
Footer
Form
Gallery
Hero Section
Inputs
Loader
Marquee
Modal
Modules
Navbar
Progress Bar
Radio Buttons
Search-Bar
Sections
Slider
Tab
Timeline
Toggle
Black footer
idsachinkumar06762
Feb 10, 2026
6
0
Share
Live Preview
Refresh
Live Editor
HTML
CSS
JS
HTML
CSS
JavaScript
1
<footer> <div class="footer-particles"> <div class="particle"></div> <div class="particle"></div> <div class="particle"></div> <div class="particle"></div> <div class="particle"></div> <div class="particle"></div> </div> <div class="footer-container"> <div class="footer-top"> <div class="footer-brand"> <h2>LUXE</h2> <p>Elevating digital experiences through exceptional design and innovative solutions. We craft memorable brands that resonate with audiences and drive meaningful engagement.</p> <div class="newsletter"> <h4>Stay Updated</h4> <form class="newsletter-form"> <input type="email" placeholder="Enter your email" required> <button type="submit">Subscribe</button> </form> </div> <div class="social-links"> <a href="#" aria-label="Facebook">Fb</a> <a href="#" aria-label="Twitter">Tw</a> <a href="#" aria-label="Instagram">Ig</a> <a href="#" aria-label="LinkedIn">In</a> <a href="#" aria-label="Dribbble">Dr</a> </div> </div> <div class="footer-column"> <h3>Company</h3> <ul> <li><a href="#">About Us</a></li> <li><a href="#">Our Team</a></li> <li><a href="#">Careers</a></li> <li><a href="#">Press Kit</a></li> <li><a href="#">Contact</a></li> </ul> </div> <div class="footer-column"> <h3>Services</h3> <ul> <li><a href="#">Brand Strategy</a></li> <li><a href="#">Web Design</a></li> <li><a href="#">Development</a></li> <li><a href="#">Digital Marketing</a></li> <li><a href="#">Consulting</a></li> </ul> </div> <div class="footer-column"> <h3>Resources</h3> <ul> <li><a href="#">Blog</a></li> <li><a href="#">Case Studies</a></li> <li><a href="#">Documentation</a></li> <li><a href="#">Support</a></li> <li><a href="#">FAQ</a></li> </ul> </div> </div> <div class="footer-divider"></div> <div class="footer-bottom"> <p>© 2024 LUXE Digital Agency. All rights reserved.</p> <div class="footer-links"> <a href="#">Privacy Policy</a> <a href="#">Terms of Service</a> <a href="#">Cookie Policy</a> </div> </div> </div> </footer>
1
:root { --accent-gold: #d4af37; --accent-gold-light: #f0d883; --text-primary: #ffffff; --text-secondary: #a0a0a0; --bg-black: #000000; --bg-dark: #0a0a0a; --bg-card: #151515; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'DM Sans', sans-serif; min-height: 100vh; display: flex; flex-direction: column; background: #0a0a0a; } main { flex: 1; padding: 4rem 2rem; background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%); display: flex; align-items: center; justify-content: center; } main h1 { color: var(--text-primary); font-family: 'Playfair Display', serif; font-size: 3rem; text-align: center; } /* Footer Styles */ footer { background: var(--bg-black); color: var(--text-primary); position: relative; overflow: hidden; } /* Animated background gradient */ footer::before { content: ''; position: absolute; top: 0; left: -100%; width: 300%; height: 2px; background: linear-gradient(90deg, transparent 0%, var(--accent-gold) 50%, transparent 100%); animation: borderSlide 8s linear infinite; } @keyframes borderSlide { 0% { left: -100%; } 100% { left: 100%; } } /* Floating particles */ .footer-particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.15; } .particle { position: absolute; width: 2px; height: 2px; background: var(--accent-gold); border-radius: 50%; animation: float 15s infinite ease-in-out; } .particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; } .particle:nth-child(2) { left: 25%; animation-delay: 2s; animation-duration: 15s; } .particle:nth-child(3) { left: 40%; animation-delay: 4s; animation-duration: 18s; } .particle:nth-child(4) { left: 60%; animation-delay: 1s; animation-duration: 14s; } .particle:nth-child(5) { left: 75%; animation-delay: 3s; animation-duration: 16s; } .particle:nth-child(6) { left: 90%; animation-delay: 5s; animation-duration: 13s; } @keyframes float { 0%, 100% { transform: translateY(0) scale(1); opacity: 0; } 10% { opacity: 1; } 50% { transform: translateY(-400px) scale(1.5); opacity: 0.8; } 90% { opacity: 0.5; } } .footer-container { max-width: 1400px; margin: 0 auto; padding: 5rem 2rem 2rem; position: relative; z-index: 1; } .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; opacity: 0; animation: fadeInUp 1s ease-out 0.3s forwards; } @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } .footer-brand { animation-delay: 0.4s; } .footer-brand h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 1.5rem; background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline-block; animation: shimmer 3s ease-in-out infinite; } @keyframes shimmer { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.3); } } .footer-brand p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 2rem; max-width: 400px; } .newsletter { margin-top: 2rem; } .newsletter h4 { color: var(--accent-gold); margin-bottom: 1rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; } .newsletter-form { display: flex; gap: 0.5rem; } .newsletter input { flex: 1; padding: 1rem 1.5rem; background: var(--bg-card); border: 1px solid #222; color: var(--text-primary); font-family: 'DM Sans', sans-serif; font-size: 0.95rem; transition: all 0.3s ease; } .newsletter input:focus { outline: none; border-color: var(--accent-gold); box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); } .newsletter button { padding: 1rem 2rem; background: var(--accent-gold); border: none; color: var(--bg-black); font-weight: 700; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; } .newsletter button::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255, 255, 255, 0.3); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.6s ease, height 0.6s ease; } .newsletter button:hover::before { width: 300px; height: 300px; } .newsletter button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4); } .footer-column { opacity: 0; animation: fadeInUp 1s ease-out forwards; } .footer-column:nth-child(2) { animation-delay: 0.5s; } .footer-column:nth-child(3) { animation-delay: 0.6s; } .footer-column:nth-child(4) { animation-delay: 0.7s; } .footer-column h3 { color: var(--text-primary); margin-bottom: 1.5rem; font-size: 1.1rem; font-weight: 700; position: relative; padding-bottom: 0.5rem; } .footer-column h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--accent-gold); transition: width 0.3s ease; } .footer-column:hover h3::after { width: 60px; } .footer-column ul { list-style: none; } .footer-column ul li { margin-bottom: 1rem; } .footer-column ul li a { color: var(--text-secondary); text-decoration: none; transition: all 0.3s ease; display: inline-block; position: relative; padding-left: 0; } .footer-column ul li a::before { content: '→'; position: absolute; left: -20px; opacity: 0; transition: all 0.3s ease; color: var(--accent-gold); } .footer-column ul li a:hover { color: var(--accent-gold); padding-left: 20px; transform: translateX(5px); } .footer-column ul li a:hover::before { opacity: 1; left: 0; } .social-links { display: flex; gap: 1rem; margin-top: 1.5rem; } .social-links a { width: 50px; height: 50px; background: var(--bg-card); border: 1px solid #222; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); text-decoration: none; font-weight: 700; transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); position: relative; overflow: hidden; } .social-links a::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--accent-gold); transition: left 0.4s ease; z-index: -1; } .social-links a:hover::before { left: 0; } .social-links a:hover { color: var(--bg-black); transform: translateY(-5px) rotate(5deg); border-color: var(--accent-gold); } .footer-divider { height: 1px; background: linear-gradient(90deg, transparent 0%, #333 20%, #333 80%, transparent 100%); margin: 3rem 0; opacity: 0; animation: fadeIn 1s ease-out 1s forwards; } @keyframes fadeIn { to { opacity: 1; } } .footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 2rem 0; opacity: 0; animation: fadeInUp 1s ease-out 1.2s forwards; } .footer-bottom p { color: var(--text-secondary); font-size: 0.9rem; } .footer-links { display: flex; gap: 2rem; } .footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; position: relative; } .footer-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--accent-gold); transition: width 0.3s ease; } .footer-links a:hover { color: var(--accent-gold); } .footer-links a:hover::after { width: 100%; } /* Responsive Design */ @media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; } .footer-brand { grid-column: 1 / -1; } } @media (max-width: 768px) { .footer-top { grid-template-columns: 1fr; gap: 2.5rem; } .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; } .newsletter-form { flex-direction: column; } main h1 { font-size: 2rem; } .social-links { justify-content: center; } } @media (max-width: 480px) { .footer-container { padding: 3rem 1.5rem 1.5rem; } .footer-brand h2 { font-size: 2rem; } .footer-links { flex-direction: column; gap: 1rem; } } /* Scroll reveal animation */ @keyframes slideInFromBottom { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
1
// Smooth scroll reveal on footer visibility const footer = document.querySelector('footer'); const observerOptions = { threshold: 0.1, rootMargin: '0px 0px -100px 0px' }; const observer = new IntersectionObserver((entries) => { entries.forEach(entry => { if (entry.isIntersecting) { footer.classList.add('visible'); } }); }, observerOptions); observer.observe(footer); // Newsletter form submission document.querySelector('.newsletter-form').addEventListener('submit', (e) => { e.preventDefault(); const button = e.target.querySelector('button'); const originalText = button.textContent; button.textContent = 'Subscribed!'; button.style.background = '#2ecc71'; setTimeout(() => { button.textContent = originalText; button.style.background = 'var(--accent-gold)'; e.target.reset(); }, 2000); });
Comments
0
Want to comment?
Please
login
or
sign up
to post comments.
No comments yet
Be the first to comment on this component!
Comments 0
Want to comment?
Please login or sign up to post comments.
No comments yet
Be the first to comment on this component!