구성 요소 컨테이너 소셜 미디어 컨테이너

소셜 미디어 컨테이너

생생한 색상, 매력적인 마이크로 인터랙션, 어두운 테마 지원을 갖춘 반응형 컨테이너 구성 요소로, 소셜 미디어 인터페이스에 적합합니다. 기능에는 미묘한 호버 효과와 깔끔한 레이아웃이 포함됩니다.

미리 보기

HTML 코드

<div class="container mx-auto p-4 md:p-8 bg-gradient-to-r from-purple-500 to-pink-500 dark:from-gray-800 dark:to-black rounded-lg shadow-xl">
  <div class="flex items-center justify-between mb-4">
    <div class="flex items-center">
      <img class="w-10 h-10 rounded-full mr-4 object-cover" src="https://randomuser.me/api/portraits/men/32.jpg" alt="Avatar">
      <h2 class="text-xl font-bold text-white dark:text-gray-200">User Profile</h2>
    </div>
    <button class="px-4 py-2 bg-white bg-opacity-20 text-white text-sm font-semibold rounded-full hover:bg-opacity-30 transition-all duration-300 ease-in-out">Follow</button>
  </div>

  <p class="text-white dark:text-gray-300 leading-relaxed mb-6">
    This is a sample container component for social media interfaces. It features vibrant colors, subtle hover effects for buttons, and is fully responsive.
  </p>

  <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
    <div class="bg-white bg-opacity-10 rounded-lg p-4 hover:bg-opacity-20 transition-all duration-300 ease-in-out">
      <h3 class="text-lg font-semibold text-white mb-2">Recent Post</h3>
      <p class="text-white text-sm dark:text-gray-300">Lorem ipsum dolor sit amet, consectetur adipiscing elit. ...</p>
    </div>
    <div class="bg-white bg-opacity-10 rounded-lg p-4 hover:bg-opacity-20 transition-all duration-300 ease-in-out">
      <h3 class="text-lg font-semibold text-white mb-2">Notifications</h3>
      <p class="text-white text-sm dark:text-gray-300">You have 3 new notifications. ...</p>
    </div>
  </div>

  <div class="mt-6 pt-4 border-t border-white border-opacity-20 flex justify-around text-white">
    <a href="#" class="text-sm hover:text-gray-200 transition-colors duration-200">Messages</a>
    <a href="#" class="text-sm hover:text-gray-200 transition-colors duration-200">Settings</a>
    <a href="#" class="text-sm hover:text-gray-200 transition-colors duration-200">Logout</a>
  </div>
</div>

관련 구성 요소

컨테이너 구성 요소

전자 상거래를 위한 다크 모드를 지원하는 반응형 컨테이너 구성 요소

열다

Skeuomorphic_E-commerce_Container

Skeuomorphic E-commerce Container Component in Pastel tones with Dark Mode 지원

열다

Neumorphic 컨테이너 구성 요소

작업이나 제품을 보여주기 위한 반응형 뉴모픽 컨테이너 구성 요소로, Tailwind CSS를 사용하여 트라이어드 색 구성표와 어두운 테마 지원으로 설계되었습니다.

열다