글래스모피즘모달컴포넌트(GlassmorphismModalComponent)
유사한 색 구성표, 중간 정도의 복잡성을 가진 Glassmorphism 스타일의 모달 구성 요소로, 블로그/콘텐츠 표시에 적합합니다. Tailwind CSS를 사용하여 어두운 테마를 지원하는 반응형 디자인이 특징입니다.
HTML 코드
<div class="fixed inset-0 bg-gray-900 bg-opacity-70 flex justify-center items-center p-4 z-50 dark:bg-opacity-80"> <div class="relative bg-white bg-opacity-20 backdrop-filter backdrop-blur-lg rounded-xl shadow-2xl p-6 md:p-8 lg:p-10 max-w-2xl w-full m-4 border border-opacity-30 border-white dark:bg-gray-800 dark:bg-opacity-20 dark:border-gray-700 text-gray-900 dark:text-white transform transition-all scale-100 opacity-100"> <!-- Close Button --> <button class="absolute top-4 right-4 text-gray-900 dark:text-white hover:text-gray-700 dark:hover:text-gray-300 transition duration-300 ease-in-out focus:outline-none"> <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path> </svg> </button> <!-- Modal Header --> <div class="mb-6"> <h3 class="text-3xl font-extrabold text-gray-900 dark:text-white mb-2">The Wonders of Glassmorphism</h3> <p class="text-lg text-gray-800 dark:text-gray-200">Embrace the beauty of translucent design.</p> </div> <!-- Modal Content - Article Preview --> <div class="space-y-6 text-gray-800 dark:text-gray-200"> <img src="https://picsum.photos/600/350?random=1" alt="Abstract Glassmorphism Background" class="rounded-lg mb-4 shadow-md object-cover w-full h-auto"> <p class="leading-relaxed"> Glassmorphism is a design trend characterized by a frosted-glass effect, where backgrounds are blurred to create a sense of depth and translucency. This aesthetic often involves vibrant colors, light borders, and distinct layering, giving UI elements a sense of floating on the screen. It
관련 구성 요소
레트로 블로그 모달
블로그 콘텐츠를 위한 레트로 빈티지에서 영감을 받은 모달 구성 요소로, 보색, 인터랙티브 요소를 통한 적당한 복잡성, 반응형 디자인 및 다크 모드 지원을 특징으로 합니다. JavaScript는 사용되지 않으며 HTML 및 Tailwind CSS 클래스에만 의존합니다. 이미지는 picsum.photos에서, 아바타는 randomuser.me 에서 가져옵니다.
미시적 상호작용을 이용한 복잡한 지구적 비즈니스 모달
마이크로 인터랙션이 있는 복잡하고 반응이 빠른 흙색 모달 구성 요소로, 비즈니스 웹 사이트에 적합하며 다크 모드를 지원합니다.
Modal 구성 요소
마이크로 인터랙션과 트라이어드 색 구성표로 스타일링된 반응형 모달 구성 요소로, 소셜 미디어 인터페이스를 위해 설계되었습니다. 상호 작용 시 사용자의 참여를 유도하는 애니메이션을 특징으로 하며 Tailwind CSS를 사용하여 어두운 테마 지원을 제공합니다.