레트로 360 뷰어
Retro 360° Viewer Tailwind CSS를 사용하여 반응형 효과 및 어두운 테마를 지원하는 구성 요소. picsum.photos의 자리 표시자 이미지를 사용합니다.
HTML 코드
<div class="bg-gray-200 dark:bg-gray-800 p-6 rounded-lg">
<div class="relative" style="padding-top: 56.25%;">
<img src="https://picsum.photos/600/400" alt="360 degree view" class="absolute top-0 left-0 w-full h-full object-cover rounded-lg">
<div class="absolute inset-0 flex items-center justify-center">
<div class="bg-white dark:bg-gray-900 text-gray-800 dark:text-gray-200 py-2 px-4 rounded-full text-sm font-bold">
Retro 360° Viewer
</div>
</div>
</div>
<div class="flex justify-center space-x-4 mt-4">
<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-full text-xs">
< Previous
</button>
<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-full text-xs">
Next >
</button>
</div>
</div>