Media Embed Component
A Media Embed Component designed for e-commerce with a 3D design style, complementary color scheme, and responsive layout that supports dark mode.
HTML Code
<div class="max-w-md mx-auto bg-white dark:bg-gray-800 rounded-lg shadow-2xl transform hover:scale-105 transition-transform duration-300 ease-in-out">
<div class="relative">
<img src="https://picsum.photos/400/200" alt="Product Image" class="w-full h-48 object-cover rounded-t-lg">
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4 rounded-b-lg">
<h2 class="text-white text-lg font-semibold">Product Title</h2>
<p class="text-gray-300">Short description of the product goes here.</p>
</div>
</div>
<div class="p-4">
<p class="text-gray-800 dark:text-gray-200">Add to Cart</p>
<div class="flex justify-between items-center mt-2">
<span class="text-gray-800 dark:text-gray-200 font-bold text-xl">$49.99</span>
<button class="bg-green-500 hover:bg-green-600 dark:bg-green-700 dark:hover:bg-green-800 text-white font-bold py-2 px-4 rounded">Buy Now</button>
</div>
</div>
</div>
Related Components
Media Embed Component
A simple, responsive media embed component with grayscale 3D design and dark mode support, suitable for business websites. Uses Tailwind CSS for styling.
Neumorphism Media Embed Component
A neumorphic Media Embed Component for business websites, with responsive design and dark theme support using complementary colors.
Media Embed Component
A responsive Media Embed Component with dark theme support, complex layout, and complementary color scheme, designed for dashboards.