HTML 代码
<div class="antialiased w-full">
<div class="container px-4 mx-auto">
<div class="flex flex-wrap items-center -mx-4">
<div class="w-full lg:w-2/3 mx-auto">
<div class="max-w-2xl mx-auto">
<div class="mb-6 md:mb-8">
<span class="text-lg text-blue-500 font-bold">Reviews</span>
<h2 class="text-3xl md:text-4xl mt-2 font-bold font-heading">Customer Reviews</h2>
</div>
<div class="mb-6">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center">
<img class="h-12 w-12 rounded-full object-cover" src="https://randomuser.me/api/portraits/women/33.jpg" alt="user avatar">
<div class="ml-4">
<p class="text-lg font-semibold">Alice Williams</p>
<p class="text-sm text-gray-500">January 20, 2024</p>
</div>
</div>
<div class="flex items-center">
<span class="text-yellow-500 text-xl mr-1">★</span>
<span class="text-yellow-500 text-xl mr-1">★</span>
<span class="text-yellow-500 text-xl mr-1">★</span>
<span class="text-yellow-500 text-xl mr-1">★</span>
<span class="text-gray-300 text-xl">★</span>
</div>
</div>
<div class="p-6 bg-gray-100 rounded-lg shadow-md dark:bg-gray-700">
<p class="leading-loose text-gray-500 dark:text-gray-300">"Absolutely love this product! The quality is top-notch, and it exceeded my expectations. Highly recommend it to everyone."</p>
</div>
</div>
<div class="mb-6">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center">
<img class="h-12 w-12 rounded-full object-cover" src="https://randomuser.me/api/portraits/men/76.jpg" alt="user avatar">
<div class="ml-4">
<p class="text-lg font-semibold">Robert Johnson</p>
<p class="text-sm text-gray-500">January 18, 2024</p>
</div>
</div>
<div class="flex items-center">
<span class="text-yellow-500 text-xl mr-1">★</span>
<span class="text-yellow-500 text-xl mr-1">★</span>
<span class="text-yellow-500 text-xl mr-1">★</span>
<span class="text-yellow-500 text-xl mr-1">★</span>
<span class="text-yellow-500 text-xl">★</span>
</div>
</div>
<div class="p-6 bg-gray-100 rounded-lg shadow-md dark:bg-gray-700">
<p class="leading-loose text-gray-500 dark:text-gray-300">"This is by far the best purchase I
相关组件
产品评论组件
复古/复古风格,地球色调色彩方案,中等复杂度的产品评论组件,具有响应式设计和暗主题支持。使用Tailwind CSS进行样式设计,产品图片来自picsum.photos,头像来自randomuser.me。无需JavaScript。
复古产品评论卡
一个产品评论组件,采用 Retro/Vintage 美学设计,使用三色配色方案(蓝绿色、紫红色、琥珀色)。它简单、响应迅速,支持深色模式,适用于用于展示产品反馈的产品组合。使用 Tailwind CSS。