Akkordeon-Komponente mit pastellfarbenem, minimalistischem Design
Eine komplexe, reaktionsschnelle, mit dunklen Themen kompatible Akkordeonkomponente für Portfolios, die mit einer minimalistischen/flachen Pastellästhetik unter Verwendung von Tailwind CSS gestaltet wurde. Enthält mehrere interaktive Elemente und verwendet picsum.photos für Bilder.
HTML-Code
<div class="max-w-md mx-auto bg-white dark:bg-gray-800 rounded-xl shadow-md overflow-hidden md:max-w-2xl m-5">
<div class="md:flex">
<div class="md:flex-shrink-0">
<img class="h-48 w-full object-cover md:w-48" src="https://picsum.photos/seed/accordion1/400/300" alt="Project image">
</div>
<div class="p-8">
<div class="uppercase tracking-wide text-sm text-indigo-500 dark:text-indigo-300 font-semibold">Project Name 1</div>
<a href="#" class="block mt-1 text-lg leading-tight font-medium text-black dark:text-white hover:underline">Project Title</a>
<p class="mt-2 text-gray-500 dark:text-gray-400">This is a brief description of the project, highlighting its purpose and key features.</p>
<div class="mt-4">
<details class="group">
<summary class="flex justify-between items-center font-medium cursor-pointer list-none text-gray-700 dark:text-gray-300">
<span>Details</span>
<span class="transition group-open:rotate-180">
<svg fill="none" height="24" shape-rendering="geometricPrecision" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" viewBox="0 0 24 24" width="24"><path d="M12 15l-6-6 6-6"></path><path d="M18 15l-6-6 6-6"></path></svg>
</span>
</summary>
<p class="text-gray-500 dark:text-gray-400 mt-3">
More detailed information about the project, technologies used, challenges faced, and solutions implemented.
</p>
</details>
</div>
</div>
</div>
</div>
<div class="max-w-md mx-auto bg-white dark:bg-gray-800 rounded-xl shadow-md overflow-hidden md:max-w-2xl m-5">
<div class="md:flex">
<div class="md:flex-shrink-0">
<img class="h-48 w-full object-cover md:w-48" src="https://picsum.photos/seed/accordion2/400/300" alt="Project image">
</div>
<div class="p-8">
<div class="uppercase tracking-wide text-sm text-green-500 dark:text-green-300 font-semibold">Project Name 2</div>
<a href="#" class="block mt-1 text-lg leading-tight font-medium text-black dark:text-white hover:underline">Another Project Title</a>
<p class="mt-2 text-gray-500 dark:text-gray-400">This is a brief description of the second project, highlighting its purpose and key features.</p>
<div class="mt-4">
<details class="group">
<summary class="flex justify-between items-center font-medium cursor-pointer list-none text-gray-700 dark:text-gray-300">
<span>Details</span>
<span class="transition group-open:rotate-180">
<svg fill="none" height="24" shape-rendering="geometricPrecision" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" viewBox="0 0 24 24" width="24"><path d="M12 15l-6-6 6-6"></path><path d="M18 15l-6-6 6-6"></path></svg>
</span>
</summary>
<p class="text-gray-500 dark:text-gray-400 mt-3">
More detailed information about the project, technologies used, challenges faced, and solutions implemented.
</p>
</details>
</div>
</div>
</div>
</div>
Verwandte Komponenten
Akkordeon für soziale Medien
Responsive Accordion-Komponente mit dunklem Theme Unterstützung für Social-Media-Schnittstellen unter Verwendung von Material Design-Prinzipien, einem triadischen Farbschema und einem einfachen Layout. Kein JavaScript, nur HTML mit Tailwind CSS-Klassen. Stile im dunklen Modus werden mit dem Präfix dark: eingeschlossen.
Material Design Akkordeon Komponente - Tailwind CSS
Eine Akkordeonkomponente im Material Design-Stil, einschließlich responsiver Effekte und Unterstützung für dunkle Themen. Verwendet Tailwind CSS und enthält Platzhalterbilder/Avatare.
Retro Armaturenbrett Akkordeon
Retro / Vintage Akkordeonkomponente für Armaturenbrett mit komplementärem Farbschema und komplexer Komplexität. Enthält Responsive Design und Unterstützung für dunkle Themen mit Tailwind CSS. Kein JavaScript. Bilder über picsum.photos und Avatare über randomuser.me.