Brutalistisches Mega-Menü
Eine reaktionsschnelle Mega-Menükomponente mit brutalistischem Design mit Erdtönen und Unterstützung des Dunkelmodus für einen Blog oder eine inhaltsgesteuerte Website.
HTML-Code
<div class="bg-brown-900 dark:bg-gray-800 p-6">
<div class="max-w-7xl mx-auto">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="text-white text-2xl font-bold">Blog</div>
<nav class="mt-4 md:mt-0">
<ul class="flex flex-col md:flex-row space-x-0 md:space-x-8">
<li class="hover:bg-brown-700 dark:hover:bg-gray-600 p-2 rounded">
<a href="#" class="text-white">Home</a>
</li>
<li class="hover:bg-brown-700 dark:hover:bg-gray-600 p-2 rounded">
<a href="#" class="text-white">About</a>
</li>
<li class="hover:bg-brown-700 dark:hover:bg-gray-600 p-2 rounded">
<a href="#" class="text-white">Categories</a>
</li>
<li class="hover:bg-brown-700 dark:hover:bg-gray-600 p-2 rounded">
<a href="#" class="text-white">Contact</a>
</li>
</ul>
</nav>
</div>
<div class="mt-8 grid grid-cols-1 md:grid-cols-3 gap-4">
<div class="bg-brown-800 dark:bg-gray-700 p-4 rounded">
<img src="https://picsum.photos/300/200?random=1" alt="Post Thumbnail" class="w-full h-auto rounded mb-4">
<h2 class="text-lg font-semibold text-white">Post Title 1</h2>
<p class="text-gray-300">An engaging description about this post goes here. It captures the essence of the content.</p>
</div>
<div class="bg-brown-800 dark:bg-gray-700 p-4 rounded">
<img src="https://picsum.photos/300/200?random=2" alt="Post Thumbnail" class="w-full h-auto rounded mb-4">
<h2 class="text-lg font-semibold text-white">Post Title 2</h2>
<p class="text-gray-300">An engaging description about this post goes here. It captures the essence of the content.</p>
</div>
<div class="bg-brown-800 dark:bg-gray-700 p-4 rounded">
<img src="https://picsum.photos/300/200?random=3" alt="Post Thumbnail" class="w-full h-auto rounded mb-4">
<h2 class="text-lg font-semibold text-white">Post Title 3</h2>
<p class="text-gray-300">An engaging description about this post goes here. It captures the essence of the content.</p>
</div>
</div>
</div>
</div>
Verwandte Komponenten
Mega-Menü-Komponente
Eine reaktionsschnelle Mega-Menü-Komponente, die mit Fokus auf Mikrointeraktionen und Unterstützung für dunkle Themen mit Tailwind CSS entwickelt wurde.
Retro Mega Menü
Eine Mega-Menükomponente im Retro-/Vintage-Stil mit responsiven Effekten und Unterstützung für dunkle Themen, implementiert mit Tailwind CSS. Es ist kein JavaScript enthalten. Der Dunkelmodus wird rein mit CSS behandelt.
Mega-Menü-Komponente
Mega-Menükomponente mit minimalistischem/flachem Design, lebendigem Farbschema, komplexer Komplexitätsstufe, für Dashboard-Zwecke, mit Tailwind CSS. Responsives Design mit Unterstützung für dunkle Themen. Kein JavaScript-Code, nur HTML mit Tailwind-Klassen. Im Dunkelmodus wird das Präfix dark: von Tailwind für das Styling verwendet. Bilder verwenden picsum.photos und randomuser.me für Avatare.