sectionfooter-gradientbeginner
Gradient Footer
A modern footer with a gradient top border and clean link layout.
Preview
<footer class="bg-white border-t-4 border-gradient">
<div class="h-1 bg-gradient-to-r from-blue-500 via-purple-500 to-pink-500"></div>
<div class="max-w-6xl mx-auto px-4 py-12">
<div class="flex flex-col md:flex-row justify-between items-center gap-6">
<div class="font-bold text-xl text-gray-900">Acme</div>
<div class="flex gap-6 text-sm text-gray-500">
<a href="#" class="hover:text-gray-900 transition-colors">About</a>
<a href="#" class="hover:text-gray-900 transition-colors">Features</a>
<a href="#" class="hover:text-gray-900 transition-colors">Pricing</a>
<a href="#" class="hover:text-gray-900 transition-colors">Contact</a>
</div>
<div class="text-sm text-gray-400">© 2026 Acme Inc.</div>
</div>
</div>
</footer>Color Breakdown
Background
bg-white
#ffffff
Gradient Start
from-blue-500
#3b82f6
Gradient Middle
via-purple-500
#a855f7
Gradient End
to-pink-500
#ec4899
Logo
text-gray-900
#111827
Links
text-gray-500
#6b7280
Dark Mode Variant
Add these Tailwind classes for a dark mode adaptation of this recipe.
dark:bg-gray-900 dark:text-white dark:text-gray-400Use Cases
Portfolio sitesStartup landing pagesCreative agency sites
Browser Support
All modern browsers.
Related Recipes
Build Your Own Color Recipe
Use our Tailwind CSS tools to experiment with colors, gradients, and component styles.
Explore ToolsFrequently Asked Questions
How do I make the gradient border thicker?▼
Change h-1 to h-2 for a thicker gradient line.