3D Grayscale Business Container
3D Grayscale Container Component for Business/Corporate Websites
HTML Code
<div class="min-h-screen bg-gray-100 dark:bg-gray-900 py-12 px-4 sm:px-6 lg:px-8">
<div class="relative max-w-md mx-auto dark:bg-gray-800 bg-white rounded-xl shadow-2xl overflow-hidden md:max-w-2xl perspective">
<div class="md:flex">
<div class="md:flex-shrink-0">
<img class="h-48 w-full object-cover md:w-48 view-3d" src="https://picsum.photos/seed/unsplash/600/400" alt="Modern building architecture">
</div>
<div class="p-8 flex flex-col justify-between leading-normal">
<div class="mb-8">
<p class="text-sm font-bold text-gray-500 dark:text-gray-400">Business Solutions</p>
<h2 class="mt-2 text-2xl font-semibold text-gray-900 dark:text-white">Innovative Strategies for Growth</h2>
<p class="mt-2 text-gray-600 dark:text-gray-300">We provide cutting-edge solutions to help your business thrive in a competitive market. Our strategies are tailored to your specific needs for maximum impact.</p>
</div>
<div class="flex items-center">
<img class="w-10 h-10 rounded-full mr-4 view-3d-avatar" src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar of the CEO">
<div class="text-sm">
<p class="text-gray-900 dark:text-white leading-none">John Smith</p>
<p class="text-gray-600 dark:text-gray-400">CEO and Founder</p>
</div>
</div>
</div>
</div>
</div>
</div>
<style>
.perspective {
perspective: 1000px;
}
.view-3d {
transform: rotateY(5deg) rotateX(5deg);
transition: transform 0.5s ease;
}
.view-3d:hover {
transform: rotateY(0deg) rotateX(0deg);
}
.view-3d-avatar {
transform: translateZ(20px);
transition: transform 0.5s ease;
}
.view-3d-avatar:hover {
transform: translateZ(0px);
}
</style>
Related Components
Skeuomorphic Container
A responsive container component with Skeuomorphism design and dark mode support using Tailwind CSS.
Container Component 30
A responsive 3D design container component that incorporates three-dimensional elements for depth and engagement with dark theme support.