HTML 代码
<div class="bg-gray-100 dark:bg-gray-900 min-h-screen p-8">
<div class="max-w-4xl mx-auto bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6 relative overflow-hidden">
<!-- Retro/Vintage background elements -->
<div class="absolute inset-0 z-0 opacity-10 pointer-events-none">
<div class="w-32 h-32 bg-gray-300 dark:bg-gray-700 rounded-full absolute -top-8 -left-8"></div>
<div class="w-24 h-24 bg-gray-300 dark:bg-gray-700 rounded-full absolute -bottom-8 -right-8"></div>
<div class="w-48 h-12 bg-gray-200 dark:bg-gray-700 absolute top-1/4 -left-16 transform -rotate-45"></div>
<div class="w-48 h-12 bg-gray-200 dark:bg-gray-700 absolute bottom-1/4 -right-16 transform rotate-45"></div>
</div>
<div class="relative z-10">
<h2 class="text-3xl md:text-4xl font-bold text-gray-800 dark:text-gray-100 mb-6 text-center tracking-wide uppercase">
Our Company Milestones
</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Milestone 1 -->
<div class="flex flex-col items-center text-center p-4 bg-gray-50 dark:bg-gray-700 rounded-md shadow-inner transition-transform duration-300 hover:scale-105">
<div class="text-5xl text-gray-600 dark:text-gray-300 mb-3 font-mono">1985</div>
<h3 class="text-xl font-semibold text-gray-700 dark:text-gray-200 mb-2">Founded</h3>
<p class="text-gray-600 dark:text-gray-300">Started with a vision to innovate the industry.</p>
</div>
<!-- Milestone 2 -->
<div class="flex flex-col items-center text-center p-4 bg-gray-50 dark:bg-gray-700 rounded-md shadow-inner transition-transform duration-300 hover:scale-105">
<div class="text-5xl text-gray-600 dark:text-gray-300 mb-3 font-mono">2000</div>
<h3 class="text-xl font-semibold text-gray-700 dark:text-gray-200 mb-2">Global Expansion</h3>
<p class="text-gray-600 dark:text-gray-300">Expanded our reach to international markets.</p>
</div>
<!-- Milestone 3 -->
<div class="flex flex-col items-center text-center p-4 bg-gray-50 dark:bg-gray-700 rounded-md shadow-inner transition-transform duration-300 hover:scale-105">
<div class="text-5xl text-gray-600 dark:text-gray-300 mb-3 font-mono">2023</div>
<h3 class="text-xl font-semibold text-gray-700 dark:text-gray-200 mb-2">Future Ready</h3>
<p class="text-gray-600 dark:text-gray-300">Embracing new technologies for sustainable growth.</p>
</div>
</div>
<div class="mt-8 text-center">
<a href="#" class="inline-block bg-gray-700 dark:bg-gray-200 text-white dark:text-gray-900 py-3 px-8 rounded-full font-bold uppercase tracking-wider shadow-md hover:bg-gray-800 dark:hover:bg-gray-300 transition duration-300">
Learn More About Our Journey
</a>
</div>
</div>
</div>
</div>
相关组件
Memphis_Muted_Infographics_Component_Government
政府/公共服务的信息图表组件,灵感来自孟菲斯设计,采用柔和/不饱和的配色方案。具有大胆的几何图形、俏皮的图案和响应式布局,并支持深色模式。直观地显示关键统计信息和信息。
复古图表组件
一个响应式信息图表组件,具有复古/复古设计、柔和的配色方案和深色模式支持。使用 Tailwind CSS 进行样式设置,并包含多个交互式元素,用于适合博客和内容使用的复杂界面。包括时间线、进度条、图表和号召性用语,均采用 80 年代/90 年代美学和柔和色彩的风格。将 picsum.photos 和 randomuser.me 中的随机图像用于头像。