Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Social Feed Widget Footer</title> <style> :root { --footer-bg: #ffffff; --footer-text: #555555; --footer-heading: #111111; --footer-border: #e9e9e9; --button-bg: #3897f0; --button-text: #ffffff; } /* Basic body styles */ body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; display: flex; flex-direction: column; min-height: 100vh; background-color: #fafafa; } main { flex-grow: 1; } .container { width: 90%; max-width: 1200px; margin-left: auto; margin-right: auto; } .main-content { padding: 2rem 0; } /* FOOTER STYLES START HERE */ .footer-feed { background-color: var(--footer-bg); border-top: 1px solid var(--footer-border); padding: 3rem 0; } .footer-feed__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; } .footer-feed__heading { color: var(--footer-heading); font-size: 1.5rem; margin: 0; } .footer-feed__follow-button { background-color: var(--button-bg); color: var(--button-text); text-decoration: none; padding: 0.6rem 1.2rem; border-radius: 6px; font-weight: 600; font-size: 0.9rem; transition: opacity 0.2s; } .footer-feed__follow-button:hover { opacity: 0.85; } /* This is a placeholder for a real social feed widget */ .footer-feed__widget-placeholder { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; /* The space between images */ } .footer-feed__placeholder-item { aspect-ratio: 1 / 1; background-color: #e0e0e0; border-radius: 8px; overflow: hidden; /* Ensures image corners match the border-radius */ } .footer-feed__placeholder-item img { display: block; /* Fixes the small gap below the image */ width: 100%; height: 100%; object-fit: cover; /* Ensures image covers the area without distortion */ } /* Bottom bar section */ .footer-feed__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--footer-border); display: flex; flex-direction: column; align-items: center; gap: 1.5rem; font-size: 0.9rem; color: var(--footer-text); } .footer-feed__nav ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; } .footer-feed__nav a { color: var(--footer-text); text-decoration: none; } .footer-feed__nav a:hover { text-decoration: underline; } @media (min-width: 768px) { .footer-feed__bottom { flex-direction: row; justify-content: space-between; } } </style> </head> <body> <main> <div class="container main-content"> <h1>Social Feed Widget Footer</h1> <p>This footer is designed to showcase live content from social media.</p> </div> </main> <footer class="footer-feed" role="contentinfo"> <div class="container"> <div class="footer-feed__main"> <header class="footer-feed__header"> <h3 class="footer-feed__heading">Follow Us on Instagram</h3> <a href="#" class="footer-feed__follow-button">@YourBrand</a> </header> <!-- This section is a placeholder. A real social feed widget would be pasted here, replacing this grid. --> <div class="footer-feed__widget-placeholder" aria-label="A grid of recent Instagram posts"> <div class="footer-feed__placeholder-item"><a href="#" aria-label="View post 1"><img src="https://placehold.co/150x150" alt="Placeholder image for a social media post"></a></div> <div class="footer-feed__placeholder-item"><a href="#" aria-label="View post 2"><img src="https://placehold.co/150x150" alt="Placeholder image for a social media post"></a></div> <div class="footer-feed__placeholder-item"><a href="#" aria-label="View post 3"><img src="https://placehold.co/150x150" alt="Placeholder image for a social media post"></a></div> <div class="footer-feed__placeholder-item"><a href="#" aria-label="View post 4"><img src="https://placehold.co/150x150" alt="Placeholder image for a social media post"></a></div> <div class="footer-feed__placeholder-item"><a href="#" aria-label="View post 5"><img src="https://placehold.co/150x150" alt="Placeholder image for a social media post"></a></div> <div class="footer-feed__placeholder-item"><a href="#" aria-label="View post 6"><img src="https://placehold.co/150x150" alt="Placeholder image for a social media post"></a></div> </div> </div> <div class="footer-feed__bottom"> <p class="footer-feed__copyright">© 2025 Your Brand. All Rights Reserved.</p> <nav class="footer-feed__nav" aria-label="Footer Navigation"> <ul> <li><a href="#">Shop</a></li> <li><a href="#">About</a></li> <li><a href="#">Contact</a></li> <li><a href="#">Privacy Policy</a></li> </ul> </nav> </div> </div> </footer> </body> </html>