社交组件

一个简单的响应式社交媒体组件,具有吸引人的动画和深色主题,使用Tailwind CSS。

预览

HTML 代码

<div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6 transition-transform transform hover:scale-105 duration-300 ease-in-out">
    <div class="flex items-center space-x-4 mb-4">
        <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-12 h-12 rounded-full">
        <div class="flex-1">
            <h2 class="text-lg font-semibold text-gray-800 dark:text-white">John Doe</h2>
            <p class="text-gray-600 dark:text-gray-400">@johndoe</p>
        </div>
    </div>
    <div class="mb-4">
        <p class="text-gray-700 dark:text-gray-300">This is a sample post demonstrating social media interactions with engaging microinteractions.</p>
    </div>
    <div class="flex space-x-4">
        <button class="bg-blue-500 hover:bg-blue-600 text-white py-2 px-4 rounded transition duration-200 ease-in-out">
            Like
        </button>
        <button class="bg-green-500 hover:bg-green-600 text-white py-2 px-4 rounded transition duration-200 ease-in-out">
            Comment
        </button>
        <button class="bg-red-500 hover:bg-red-600 text-white py-2 px-4 rounded transition duration-200 ease-in-out">
            Share
        </button>
    </div>
</div>

相关组件

社交组件

一个野兽派社交组件,展示大胆的设计与高对比度,具有响应效果,并支持暗黑主题,使用Tailwind CSS。特色用户头像、社交媒体链接和占位符图像.

打开

社交组件组件

一个简单的社交组件,采用拟物化风格设计,使用鲜艳的颜色,适用于专业商业网站,响应式设计并支持暗模式。

打开

社交组件

具有野兽派设计的社交组件,具有响应效果和黑暗主题支持。

打开