Media Embed Component
A brutalist, vibrant, and complex Media Embed Component for blogs, built with responsive design and dark mode support using Tailwind CSS.
HTML Code
<div class="dark:bg-gray-900 dark:text-white p-8">
<div class="max-w-4xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-2 gap-8 border-4 border-black dark:border-white p-4">
<div class="relative pb-56 md:pb-0 md:h-96">
<iframe class="absolute top-0 left-0 w-full h-full border-4 border-black dark:border-white" src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<div class="flex flex-col justify-between">
<div>
<h2 class="text-3xl font-bold mb-4 border-b-4 border-black dark:border-white pb-2">Embedded Media Title</h2>
<p class="mb-4">This is a description of the embedded media. It is intentionally a bit rough around the edges to fit the brutalist style. The vibrant colors and bold borders create a sense of energy and excitement.</p>
<div class="flex items-center mb-4">
<img class="w-12 h-12 rounded-full mr-4 border-4 border-black dark:border-white" src="https://randomuser.me/api/portraits/men/32.jpg" alt="Author Avatar">
<div>
<p class="font-bold">Author Name</p>
<p class="text-sm">Date Published</p>
</div>
</div>
</div>
<div class="flex justify-end">
<button class="bg-red-500 text-white px-6 py-3 border-4 border-black dark:border-white font-bold text-lg hover:bg-red-700">Watch Now</button>
</div>
</div>
</div>
</div>
</div>
Related Components
Media Embed Component
A responsive Media Embed Component with dark theme support for blog/content sites, styled with Material Design principles, a triadic color scheme, and moderate complexity. Includes an embedded video placeholder and related article links.
Media Embed Component
A media embed component designed with glassmorphism effects, featuring a responsive design suitable for business websites with dark theme support.
Media Embed Component
A responsive Media Embed Component with Glassmorphism design, earth tone colors, and dark mode support, built with Tailwind CSS for social media use cases. Includes a frosted glass effect and uses placeholder images/avatars.