Neumorphic 컨테이너 구성 요소
작업이나 제품을 보여주기 위한 반응형 뉴모픽 컨테이너 구성 요소로, Tailwind CSS를 사용하여 트라이어드 색 구성표와 어두운 테마 지원으로 설계되었습니다.
HTML 코드
<div class="flex flex-col items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-800 p-4">
<div class="bg-gray-300 dark:bg-gray-900 shadow-neumorphic rounded-lg p-6 w-full max-w-md">
<div class="flex flex-col items-center justify-center mb-4">
<img src="https://picsum.photos/200/150" alt="Portfolio Item" class="rounded-lg mb-2 shadow-neumorphic">
<h2 class="text-lg font-bold text-gray-800 dark:text-gray-200">Portfolio Item Title</h2>
<p class="text-gray-600 dark:text-gray-400">A brief description of the portfolio item goes here. It showcases the work done and highlights key features.</p>
</div>
<div class="flex items-center mt-4">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-10 h-10 rounded-full shadow-neumorphic">
<span class="ml-2 text-gray-800 dark:text-gray-200">John Doe</span>
</div>
<div class="mt-4">
<a href="#" class="text-blue-500 dark:text-blue-300 hover:underline transition ease-in-out duration-200">View Details</a>
</div>
</div>
</div>
<style>
.shadow-neumorphic {
box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.3),
-8px -8px 15px rgba(255, 255, 255, 0.5);
}
</style>
관련 구성 요소
Skeuomorphic_E-commerce_Container
Skeuomorphic E-commerce Container Component in Pastel tones with Dark Mode 지원
Brutalist 컨테이너 구성 요소
브루탈리즘 스타일과 생생한 색 구성표로 디자인된 단순하지만 대담한 컨테이너 구성 요소로, 비즈니스 또는 기업 웹 사이트에 적합하며 Tailwind CSS를 사용하여 다크 모드를 지원합니다.