RetroKarussellSchieberegler
Eine einfache, reaktionsschnelle Karussell-Slider-Komponente im Retro-Design für Unternehmenswebsites, mit Unterstützung für den Dunkelmodus und ohne JavaScript.
HTML-Code
<div class="relative w-full max-w-4xl mx-auto overflow-hidden rounded-lg shadow-lg">
<!-- Carousel Wrapper -->
<div class="relative h-96">
<!-- Slide 1 -->
<div class="absolute inset-0 transition-opacity duration-1000 ease-in-out opacity-100" data-carousel-item>
<img src="https://picsum.photos/seed/retro1/1200/400" alt="Slide 1" class="object-cover w-full h-full">
<div class="absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4">
<h2 class="text-white text-3xl font-bold font-serif filter drop-shadow">Innovation That Endures</h2>
</div>
</div>
<!-- Slide 2 -->
<div class="absolute inset-0 transition-opacity duration-1000 ease-in-out opacity-0" data-carousel-item>
<img src="https://picsum.photos/seed/retro2/1200/400" alt="Slide 2" class="object-cover w-full h-full">
<div class="absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4">
<h2 class="text-white text-3xl font-bold font-serif filter drop-shadow">Timeless Solutions for Tomorrow</h2>
</div>
</div>
<!-- Slide 3 -->
<div class="absolute inset-0 transition-opacity duration-1000 ease-in-out opacity-0" data-carousel-item>
<img src="https://picsum.photos/seed/retro3/1200/400" alt="Slide 3" class="object-cover w-full h-full">
<div class="absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4">
<h2 class="text-white text-3xl font-bold font-serif filter drop-shadow">Building on a Legacy of Quality</h2>
</div>
</div>
</div>
<!-- Carousel Navigation (Optional - for visual representation, actual prev/next usually needs JS) -->
<div class="absolute bottom-0 left-0 right-0 p-4 flex justify-center space-x-2">
<button class="w-3 h-3 bg-gray-300 rounded-full dark:bg-gray-700"></button>
<button class="w-3 h-3 bg-gray-500 rounded-full dark:bg-gray-400"></button>
<button class="w-3 h-3 bg-gray-300 rounded-full dark:bg-gray-700"></button>
</div>
</div>
<style>
/* A very basic animation for demonstration, typically this would be handled by JS for a real carousel */
/* This CSS just cycles opacity for
Verwandte Komponenten
Glasmorphismus-Karussell-Schieberegler
Eine reaktionsschnelle Karussell-Slider-Komponente im Glassmorphism-Stil, die für den Konsum von Blogs und Inhalten geeignet ist. Es verfügt über mehrere Inhaltsfolien, mattglasähnliche Elemente und ist sowohl für helle als auch für dunkle Themen konzipiert.
Brutalism_News_Carousel
Eine einfache, brutalistisch gestaltete Karussell-Slider-Komponente für Nachrichten- und Journalismus-Websites mit hohem Kontrast, kühlen Neutraltönen und voller Reaktionsfähigkeit mit Unterstützung des Dunkelmodus. Verwendet Platzhalterbilder und betont rohe visuelle Elemente.
3D-Karussell-Slider-Komponente für Portfolio
Eine reaktionsschnelle, von 3D inspirierte Karussell-Slider-Komponente zur Präsentation von Portfolio-Elementen mit Komplementärfarben und Unterstützung für den Dunkelmodus. Entworfen mit Blick auf Tiefe und Engagement.