The first thing people see when they visit your website, a hero section is the area that immediately shows up on the screen under your logo and menu.
<div class="py-12">
<div class="container m-auto px-6 text-gray-600 md:px-12 xl:px-6">
<div class="mb-12 space-y-2 text-center">
<h2 class="text-3xl font-bold text-gray-800 md:text-4xl dark:text-white">Sharing is Caring</h2>
<p class="text-gray-600 dark:text-gray-300 lg:mx-auto lg:w-6/12">
Quam hic dolore cumque voluptate rerum beatae et quae, tempore sunt, debitis dolorum
officia aliquid explicabo? Excepturi, voluptate?
</p>
</div>
<div class="lg:w-3/4 xl:w-2/4 lg:mx-auto">
<div class="group relative -mx-4 sm:-mx-8 p-6 sm:p-8 rounded-3xl bg-white dark:bg-transparent border border-transparent hover:border-gray-100 dark:shadow-none dark:hover:border-gray-700 dark:hover:bg-gray-800 shadow-2xl shadow-transparent hover:shadow-gray-600/10 sm:gap-8 sm:flex transition duration-300 hover:z-10">
<div class="sm:w-2/6 rounded-3xl overflow-hidden transition-all duration-500 group-hover:rounded-xl">
<img
src="https://images.unsplash.com/photo-1661749711934-492cd19a25c3?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1674&q=80"
alt="art cover"
loading="lazy"
width="1000"
height="667"
class="h-56 sm:h-full w-full object-cover object-top transition duration-500 group-hover:scale-105"
/>
</div>
<div class="sm:p-2 sm:pl-0 sm:w-4/6">
<span class="mt-4 mb-2 inline-block font-medium text-gray-400 dark:text-gray-500 sm:mt-0">Jul 27 2022</span>
<h3 class="text-2xl font-semibold text-gray-800 dark:text-white">
Provident de illo eveniet commodi fuga fugiat laboriosam expedita.
</h3>
<p class="my-6 text-gray-600 dark:text-gray-300">
Laudantium in, voluptates ex placeat quo harum aliquam totam,
doloribus eum impedit atque...
</p>
<div class="flex gap-4">
<a href="#" class="px-3 py-1 rounded-full border border-gray-100 text-sm font-medium text-primary transition duration-300 hover:border-transparent hover:bg-primary hover:text-white dark:border-gray-700 dark:text-gray-300">
Tailwindcss
</a>
<a href="#" class="px-3 py-1 rounded-full border border-gray-100 text-sm font-medium text-primary transition duration-300 hover:border-transparent hover:bg-primary hover:text-white dark:border-gray-700 dark:text-gray-300">
VueJS
</a>
</div>
</div>
</div>
<div class="group relative hover:z-10 -mx-4 sm:-mx-8 p-6 sm:p-8 rounded-3xl bg-white dark:bg-transparent border border-transparent hover:border-gray-100 dark:shadow-none dark:hover:border-gray-700 dark:hover:bg-gray-800 shadow-2xl shadow-transparent hover:shadow-gray-600/10 sm:gap-8 sm:flex transition duration-300">
<div class="sm:w-2/6 rounded-3xl overflow-hidden transition-all duration-500 group-hover:rounded-xl">
<img
src="https://images.unsplash.com/photo-1491895200222-0fc4a4c35e18?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1674&q=80"
alt="art cover"
loading="lazy"
width="1000"
height="667"
class="h-56 sm:h-full w-full object-cover object-top transition duration-500 group-hover:scale-105"
/>
</div>
<div class="sm:p-2 sm:pl-0 sm:w-4/6">
<span class="mt-4 mb-2 inline-block font-medium text-gray-400 dark:text-gray-500 sm:mt-0">Jul 27 2022</span>
<h3 class="text-2xl font-semibold text-gray-800 dark:text-white">
Provident de illo eveniet commodi fuga fugiat laboriosam expedita.
</h3>
<p class="my-6 text-gray-600 dark:text-gray-300">
Laudantium in, voluptates ex placeat quo harum aliquam totam,
doloribus eum impedit atque...
</p>
<div class="flex gap-4">
<a href="#" class="px-3 py-1 rounded-full border border-gray-100 text-sm font-medium text-primary transition duration-300 hover:border-transparent hover:bg-primary hover:text-white dark:border-gray-700 dark:text-gray-300">
Tailwindcss
</a>
<a href="#" class="px-3 py-1 rounded-full border border-gray-100 text-sm font-medium text-primary transition duration-300 hover:border-transparent hover:bg-primary hover:text-white dark:border-gray-700 dark:text-gray-300">
VueJS
</a>
</div>
</div>
</div>
<div class="group relative hover:z-10 -mx-4 sm:-mx-8 p-6 sm:p-8 rounded-3xl bg-white dark:bg-transparent border border-transparent hover:border-gray-100 dark:shadow-none dark:hover:border-gray-700 dark:hover:bg-gray-800 shadow-2xl shadow-transparent hover:shadow-gray-600/10 sm:gap-8 sm:flex transition duration-300">
<div class="sm:w-2/6 rounded-3xl overflow-hidden transition-all duration-500 group-hover:rounded-xl">
<img
src="https://images.unsplash.com/photo-1620121692029-d088224ddc74?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2832&q=80"
alt="art cover"
loading="lazy"
width="1000"
height="667"
class="h-56 sm:h-full w-full object-cover object-top transition duration-500 group-hover:scale-105"
/>
</div>
<div class="sm:p-2 sm:pl-0 sm:w-4/6">
<span class="mt-4 mb-2 inline-block font-medium text-gray-400 dark:text-gray-500 sm:mt-0">Jul 27 2022</span>
<h3 class="text-2xl font-semibold text-gray-800 dark:text-white">
Provident de illo eveniet commodi fuga fugiat laboriosam expedita.
</h3>
<p class="my-6 text-gray-600 dark:text-gray-300">
Laudantium in, voluptates ex placeat quo harum aliquam totam,
doloribus eum impedit atque...
</p>
<div class="flex gap-4">
<a href="#" class="px-3 py-1 rounded-full border border-gray-100 text-sm font-medium text-primary transition duration-300 hover:border-transparent hover:bg-primary hover:text-white dark:border-gray-700 dark:text-gray-300">
Tailwindcss
</a>
<a href="#" class="px-3 py-1 rounded-full border border-gray-100 text-sm font-medium text-primary transition duration-300 hover:border-transparent hover:bg-primary hover:text-white dark:border-gray-700 dark:text-gray-300">
VueJS
</a>
</div>
</div>
</div>
</div>
</div>
</div>
The first thing people see when they visit your website, a hero section is the area that immediately shows up on the screen under your logo and menu.
<div class="py-12">
<div class="xl:container m-auto px-6 text-gray-600 md:px-12 xl:px-6">
<div class="mb-12 space-y-2 text-center">
<h2 class="text-3xl font-bold text-gray-800 md:text-4xl dark:text-white">Sharing is Caring</h2>
<p class="lg:mx-auto lg:w-6/12 text-gray-600 dark:text-gray-300">
Quam hic dolore cumque voluptate rerum beatae et quae, tempore sunt, debitis dolorum officia
aliquid explicabo? Excepturi, voluptate?
</p>
</div>
<div class="grid gap-8 md:grid-cols-2 lg:grid-cols-3">
<div class="group p-6 sm:p-8 rounded-3xl bg-white border border-gray-100 dark:shadow-none dark:border-gray-700 dark:bg-gray-800 bg-opacity-50 shadow-2xl shadow-gray-600/10">
<div class="relative overflow-hidden rounded-xl">
<img src="https://images.unsplash.com/photo-1661749711934-492cd19a25c3?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1674&q=80"
alt="art cover" loading="lazy" width="1000" height="667" class="h-64 w-full object-cover object-top transition duration-500 group-hover:scale-105"/>
</div>
<div class="mt-6 relative">
<h3 class="text-2xl font-semibold text-gray-800 dark:text-white">
De fuga fugiat lorem ispum laboriosam expedita.
</h3>
<p class="mt-6 mb-8 text-gray-600 dark:text-gray-300">
Voluptates harum aliquam totam, doloribus eum impedit atque! Temporibus...
</p>
<a class="inline-block" href="#">
<span class="text-primary">Read more</span>
</a>
</div>
</div>
<div class="group p-6 sm:p-8 rounded-3xl bg-white border border-gray-100 dark:shadow-none dark:border-gray-700 dark:bg-gray-800 bg-opacity-50 shadow-2xl shadow-gray-600/10">
<div class="relative overflow-hidden rounded-xl">
<img src="https://images.unsplash.com/photo-1491895200222-0fc4a4c35e18?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1674&q=80"
alt="art cover" loading="lazy" width="1000" height="667" class="h-64 w-full object-cover object-top transition duration-500 group-hover:scale-105"/>
</div>
<div class="mt-6 relative">
<h3 class="text-2xl font-semibold text-gray-800 dark:text-white">
De fuga fugiat lorem ispum laboriosam expedita.
</h3>
<p class="mt-6 mb-8 text-gray-600 dark:text-gray-300">
Voluptates harum aliquam totam, doloribus eum impedit atque! Temporibus...
</p>
<a class="inline-block" href="#">
<span class="text-primary">Read more</span>
</a>
</div>
</div>
<div class="group p-6 sm:p-8 rounded-3xl bg-white border border-gray-100 dark:shadow-none dark:border-gray-700 dark:bg-gray-800 bg-opacity-50 shadow-2xl shadow-gray-600/10">
<div class="relative overflow-hidden rounded-xl">
<img src="https://images.unsplash.com/photo-1620121692029-d088224ddc74?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2832&q=80"
alt="art cover" loading="lazy" width="1000" height="667" class="h-64 w-full object-cover object-top transition duration-500 group-hover:scale-105"/>
</div>
<div class="mt-6 relative">
<h3 class="text-2xl font-semibold text-gray-800 dark:text-white">
De fuga fugiat lorem ispum laboriosam expedita.
</h3>
<p class="mt-6 mb-8 text-gray-600 dark:text-gray-300">
Voluptates harum aliquam totam, doloribus eum impedit atque! Temporibus...
</p>
<a class="inline-block" href="#">
<span class="text-primary">Read more</span>
</a>
</div>
</div>
</div>
</div>
</div>
The first thing people see when they visit your website, a hero section is the area that immediately shows up on the screen under your logo and menu.
<div class="py-16">
<div class="xl:container m-auto px-6 text-gray-600 md:px-12 xl:px-6">
<div class="grid gap-12 md:gap-6 md:grid-cols-2 lg:gap-12">
<div class="group space-y-6">
<img
src="https://images.unsplash.com/photo-1620121692029-d088224ddc74?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2832&q=80"
alt="art cover"
loading="lazy"
width="1000"
height="667"
class="h-80 w-full rounded-3xl object-cover object-top transition-all duration-500 group-hover:rounded-xl"
/>
<h3 class="text-3xl font-semibold text-gray-800 dark:text-white">
Flipper and JS: why we added JavaScript support to a mobile debugging platform
</h3>
<p class="text-gray-600 dark:text-gray-300">
Finding the right open source project for your first contribution can feel daunting. It took me years to find a repository that fit my skills and interests.
</p>
<div class="flex gap-6 items-center">
<a href="#" class="-ml-1 p-1 rounded-full flex items-center gap-3 hover:bg-gray-50 dark:hover:bg-gray-800">
<img class="w-8 h-8 object-cover rounded-full" src="images/man.jpg" alt="">
<span class="hidden sm:block font-semibold text-base text-gray-600 dark:text-gray-200">Bernard Ng.</span>
</a>
<span class="w-max block font-light text-gray-500 sm:mt-0">Aug 27 2022</span>
<div class="flex gap-2 items-center text-gray-500">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-5 h-5 text-gray-400 dark:text-gray-600">
<path stroke-linecap="round" stroke-linejoin="round" d="M12 6v6h4.5m4.5 0a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<span>2 min read</span>
</div>
</div>
</div>
<div class="group space-y-6">
<img
src="https://images.unsplash.com/photo-1491895200222-0fc4a4c35e18?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1674&q=80"
alt="art cover"
loading="lazy"
width="1000"
height="667"
class="h-80 w-full rounded-3xl object-cover object-top transition-all duration-500 group-hover:rounded-xl"
/>
<h3 class="text-3xl font-semibold text-gray-800 dark:text-white">
Flipper and JS: why we added JavaScript support to a mobile debugging platform
</h3>
<p class="text-gray-600 dark:text-gray-300">
Finding the right open source project for your first contribution can feel daunting. It took me years to find a repository that fit my skills and interests.
</p>
<div class="flex flex-wrap gap-6 items-center">
<a href="#" class="-ml-1 p-1 rounded-full flex items-center gap-3 hover:bg-gray-50 dark:hover:bg-gray-800">
<img class="w-8 h-8 object-cover rounded-full" src="images/man.jpg" alt="">
<span class="hidden sm:block font-semibold text-base text-gray-600 dark:text-gray-200">Bernard Ng.</span>
</a>
<span class="w-max block font-light text-gray-500 sm:mt-0">Aug 27 2022</span>
<div class="flex gap-2 items-center text-gray-500">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-5 h-5 text-gray-400 dark:text-gray-600">
<path stroke-linecap="round" stroke-linejoin="round" d="M12 6v6h4.5m4.5 0a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<span>2 min read</span>
</div>
</div>
</div>
</div>
</div>
</div>