3D 레이아웃 구성 요소
매력적인 비주얼을 갖춘 반응형 3D 디자인 레이아웃 구성 요소로, 그림자와 레이어를 통해 깊이를 통합합니다. 다크 모드 지원이 포함되며 임의의 이미지와 아바타가 있습니다.
HTML 코드
<div class="flex flex-col items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900">
<div class="max-w-4xl w-full p-6 rounded-lg shadow-2xl bg-white dark:bg-gray-800 transform transition-transform duration-300 hover:scale-105">
<h1 class="text-3xl font-bold text-gray-800 dark:text-white mb-4">3D Layout Component</h1>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="p-4 bg-gray-50 dark:bg-gray-700 shadow-lg rounded-lg hover:shadow-2xl transition-shadow duration-300">
<img src="https://picsum.photos/300/200?random=1" alt="Random Image 1" class="w-full h-48 object-cover rounded-lg mb-4">
<h2 class="text-xl font-semibold text-gray-800 dark:text-white">Card Title 1</h2>
<p class="text-gray-600 dark:text-gray-300">This is a brief description of the first card item. It's designed to entice the user.</p>
</div>
<div class="p-4 bg-gray-50 dark:bg-gray-700 shadow-lg rounded-lg hover:shadow-2xl transition-shadow duration-300">
<img src="https://picsum.photos/300/200?random=2" alt="Random Image 2" class="w-full h-48 object-cover rounded-lg mb-4">
<h2 class="text-xl font-semibold text-gray-800 dark:text-white">Card Title 2</h2>
<p class="text-gray-600 dark:text-gray-300">This is a brief description of the second card item. It's designed to entice the user.</p>
</div>
</div>
<div class="mt-6">
<h3 class="text-2xl font-bold text-gray-800 dark:text-white mb-2">Featured Users</h3>
<div class="flex flex-wrap">
<div class="bg-gray-50 dark:bg-gray-700 rounded-full p-2 shadow-lg m-2">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User 1" class="w-12 h-12 object-cover rounded-full">
</div>
<div class="bg-gray-50 dark:bg-gray-700 rounded-full p-2 shadow-lg m-2">
<img src="https://randomuser.me/api/portraits/women/1.jpg" alt="User 2" class="w-12 h-12 object-cover rounded-full">
</div>
<div class="bg-gray-50 dark:bg-gray-700 rounded-full p-2 shadow-lg m-2">
<img src="https://randomuser.me/api/portraits/men/2.jpg" alt="User 3" class="w-12 h-12 object-cover rounded-full">
</div>
<div class="bg-gray-50 dark:bg-gray-700 rounded-full p-2 shadow-lg m-2">
<img src="https://randomuser.me/api/portraits/women/2.jpg" alt="User 4" class="w-12 h-12 object-cover rounded-full">
</div>
</div>
</div>
</div>
</div>
관련 구성 요소
미니멀리스트 블로그 레이아웃 구성 요소
Minimalist Blog Layout Component with Monochromatic Color Scheme은 콘텐츠 소비를 위한 반응형 및 어두운 테마 지원을 제공합니다.
3D 디자인을 사용한 전자 상거래 레이아웃
3D 디자인 요소가 포함된 전자 상거래를 위한 반응형 웹 구성 요소 레이아웃으로, 보색 구성표와 어두운 테마 지원을 통합합니다. 제품 카드, 탐색 모음 및 바닥글이 있으며 모두 Tailwind CSS로 스타일이 지정되었습니다.