비디오 플레이어 구성 요소
Tailwind CSS로 스타일링된 반응형 동영상 플레이어 구성 요소는 마이크로 인터랙션 및 어두운 테마 지원에 중점을 둡니다.
HTML 코드
<div class="bg-white dark:bg-gray-800 rounded-lg overflow-hidden shadow-lg transition-transform hover:scale-105 duration-200" role="video" aria-label="Video Player">
<div class="relative">
<img src="https://picsum.photos/800/450?random=1" alt="Video thumbnail" class="w-full h-48 object-cover">
<button class="absolute inset-0 flex items-center justify-center bg-black bg-opacity-50 text-white text-3xl rounded-full opacity-0 transition-opacity duration-200 hover:opacity-100">
▶
</button>
</div>
<div class="p-4">
<div class="flex items-center mb-2">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar" class="w-10 h-10 rounded-full mr-2">
<h2 class="text-lg font-semibold dark:text-white">Video Title</h2>
</div>
<p class="text-sm text-gray-700 dark:text-gray-300">Description of the video goes here. It should be engaging and concise.</p>
</div>
</div>
관련 구성 요소
비디오 플레이어 구성 요소
젖빛 유리와 같은 반투명 요소, 파스텔 색 구성표 및 비즈니스/기업 웹사이트에 적합한 복잡한 인터페이스를 갖춘 Glassmorphism 스타일의 비디오 플레이어입니다. JavaScript 없이 Tailwind CSS를 사용하여 반응형 디자인과 어두운 테마를 지원합니다.