Playful_Blog_Container
Ein verspielter und fröhlicher Blog-Content-Container mit abgerundeten Elementen und bonbonartigen Farben, der zum Lesen und Konsumieren von Inhalten konzipiert ist. Es reagiert vollständig und unterstützt den Dunkelmodus.
HTML-Code
<div class="p-4 sm:p-6 md:p-8 lg:p-10 min-h-screen bg-pink-50 dark:bg-gray-900 transition-colors duration-300">
<div class="max-w-4xl mx-auto bg-white dark:bg-gray-800 rounded-3xl shadow-xl overflow-hidden transform hover:scale-[1.01] transition-all duration-300 border-4 border-pink-200 dark:border-pink-800">
<div class="p-6 sm:p-8 md:p-10 lg:p-12">
<!-- Header Section -->
<header class="flex flex-col sm:flex-row items-center sm:justify-between mb-8 gap-4">
<h1 class="text-4xl sm:text-5xl lg:text-6xl font-extrabold text-pink-600 dark:text-pink-400 leading-tight text-center sm:text-left drop-shadow-lg">
Sweet Reads
</h1>
<div class="flex items-center space-x-3 bg-pink-100 dark:bg-gray-700 px-4 py-2 rounded-full shadow-md">
<img src="https://randomuser.me/api/portraits/women/67.jpg" alt="Author Avatar" class="w-12 h-12 rounded-full border-2 border-pink-400 dark:border-pink-600 object-cover">
<span class="text-lg font-semibold text-pink-700 dark:text-pink-300">By Candice Sugar</span>
</div>
</header>
<!-- Featured Image -->
<div class="mb-8 relative rounded-2xl overflow-hidden shadow-lg border-4 border-mint-200 dark:border-mint-800 transform hover:scale-[1.01] transition-transform duration-300">
<img src="https://picsum.photos/1200/600?random=1" alt="Featured image of delightful pastries" class="w-full h-auto object-cover rounded-xl">
<div class="absolute bottom-4 left-4 right-4 bg-pink-500/80 dark:bg-pink-700/80 backdrop-blur-sm p-3 rounded-xl text-white font-bold text-lg sm:text-xl text-center">
Indulge Your Sweet Tooth with These Delightful Treats!
</div>
</div>
<!-- Article Content -->
<article class="prose dark:prose-invert max-w-none text-gray-700 dark:text-gray-300 leading-relaxed space-y-6">
<h2 class="text-3xl sm:text-4xl font-bold text-pink-700 dark:text-pink-300 leading-snug">
The Secret Life of Gummy Bears and Why We Love Them So
</h2>
<p>
Ah, gummy bears! Those squishy, colorful, fruit-flavored little delights that transport us back to childhood with every chew. But have you ever stopped to ponder the intricate world within these tiny confectioneries? From their humble beginnings to their current global domination, gummy bears are more than just a sweet treat; they're a cultural phenomenon. Let's dive in!
</p>
<p>
Originally created by Hans Riegel Sr. in Germany in the early 1920s, the first gummy bears were inspired by the dancing bears seen at European circuses. Named "Gummibärchen" (little rubber bears), they were chewy and fruit-flavored, an instant hit. Fast forward a century, and these bear-shaped wonders come in countless flavors, colors, and even shapes, maintaining their irresistible charm.
</p>
<figure class="my-8 flex flex-col items-center">
<img src="https://picsum.photos/800/450?random=2" alt="Close-up of colorful gummy bears" class="rounded-2xl shadow-md border-4 border-mint-300 dark:border-mint-700 w-full md:w-3/4 object-cover">
<figcaption class="mt-3 text-sm text-gray-500 dark:text-gray-400 text-center">
A kaleidoscope of gummy goodness, ready to bring joy.
</figcaption>
</figure>
<h3 class="text-2xl sm:text-3xl font-bold text-mint-600 dark:text-mint-400">
Beyond the Bite: The Science of Sweetness
</h3>
<p>
What makes gummy bears so uniquely satisfying? It's a combination of factors. The primary ingredient, gelatin, gives them their characteristic chewiness. This texture, coupled with a balanced blend of sugars and fruit flavorings, creates a sensory experience that's both comforting and exciting. Our brains are hardwired to enjoy sweet tastes, and the playful form factor only adds to the appeal.
</p>
<ul class="list-none space-y-3 p-0">
<li class="flex items-start">
<svg class="w-6 h-6 text-pink-500 dark:text-pink-400 mr-2 flex-shrink-0 mt-1" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"></path></svg>
<span>Irresistible Chewy Texture: That satisfying bounce makes all the difference.</span>
</li>
<li class="flex items-start">
<svg class="w-6 h-6 text-pink-500 dark:text-pink-400 mr-2 flex-shrink-0 mt-1" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"></path></svg>
<span>Vibrant Colors: Visually appealing and exciting for all ages.</span>
</li>
<li class="flex items-start">
<svg class="w-6 h-6 text-pink-500 dark:text-pink-400 mr-2 flex-shrink-0 mt-1" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"></path></svg>
<span>Diverse Flavor Profiles: Something for everyone, from cherry to green apple.</span>
</li>
</ul>
<p>
So next time you pop a handful of these delightful bears, take a moment to appreciate the century of innovation and simple joy packed into each one. They truly are a testament to the power of a good idea, a sprinkle of sugar, and a whole lot of fun!
</p>
<p>
What's your favorite gummy bear color or flavor? Share your thoughts in the comments below!
</p>
</article>
<!-- Share and Comments Section (Placeholder) -->
<section class="mt-10 pt-8 border-t-2 border-dashed border-pink-300 dark:border-pink-700">
<h3 class="text-2xl font-bold text-center text-mint-600 dark:text-mint-400 mb-6">Join the Sweet Conversation!</h3>
<div class="flex flex-wrap justify-center gap-4">
<button class="flex items-center bg-pink-500 hover:bg-pink-600 text-white font-bold py-3 px-6 rounded-full shadow-lg transform hover:scale-105 transition-all duration-200 focus:outline-none focus:ring-4 focus:ring-pink-300 dark:focus:ring-pink-700">
<svg class="w-5 h-5 mr-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15 8a3 3 0 10-2.977-2.63l-4.94 2.47a3 3 0 100 4.314l4.94 2.47a3 3 0 10.832-1.664l-4.94-2.47a3.027 3.027 0 000-.68l4.94-2.47A3 3 0 0015 8z"></path></svg>
Share
</button>
<button class="flex items-center bg-mint-500 hover:bg-mint-600 text-white font-bold py-3 px-6 rounded-full shadow-lg transform hover:scale-105 transition-all duration-200 focus:outline-none focus:ring-4 focus:ring-mint-300 dark:focus:ring-mint-700">
<svg class="w-5 h-5 mr-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M18 13V5a2 2 0 00-2-2H4a2 2 0 00-2 2v8a2 2 0 002 2h3l3 3 3-3h3a2 2 0 002-2zM5 7a1 1 0 011-1h8a1 1 0 110 2H6a1 1 0 01-1-1zm1 3a1 1 0 100 2h3a1 1 0 100-2H6z" clip-rule="evenodd"></path></svg>
Comments
</button>
</div>
</section>
</div>
</div>
</div>
Verwandte Komponenten
Skeuomorphe Containerkomponente
Eine Skeuomorphe Container-Komponente mit Graustufen-Farbschema, die für ein Portfolio entwickelt wurde, mit responsivem Design und Unterstützung für dunkle Themen.
Container-Komponente
Eine einfache, reaktionsschnelle Container-Komponente für den Konsum von Blogs/Inhalten mit Mikrointeraktionen und Unterstützung für dunkle Themen unter Verwendung von Tailwind CSS.
Container-Komponente
Eine minimalistische Containerkomponente für ein Dashboard, das Tailwind CSS mit Unterstützung für den Dunkelmodus verwendet.