Jul 11, 2024
headerWithCard.jsx
.relative
, bg-900
, py-24
, px-32
, overflow-hidden
, isolate
.isolate
utility class in Tailwind CSS.
isolate
and auto
values.absolute
, inset-0
, z-10
, -z-10
, h-full
, w-full
, object-cover
, sm:object-center
, object-right
.div
with various Tailwind classes like absolute
, top-[-10px]
, right-1/2
, and transform-gpu
.bg-gradient-to-tr
and opacity class.transform-gpu
for using GPU for transformations.sm:blur-3xl
and opacity-20
.div
for a more complex gradient and custom clip-path
property.absolute
, top-1/2
, left-1/2
, z-10
, translate-x-[-50%]
, transform-gpu
, aspect-[1/800]
, w-60rem
, bg-gradient-to-tr
, from-blue-500
, to-indigo-500
, opacity-20
.div
elements.mx-auto
, max-w-7xl
, px-6
, lg:px-8
.max-w-2xl
, mx-auto
, lg:mx-0
.h2
, text-4xl font-bold text-white sm:text-6xl tracking-tight
, styled with Tailwind classes.mt-2 text-lg leading-8 text-gray-300
.name
, description
, icons
..map
method to iterate and render cards.flex
, gap-x-4
, rounded-3xl
, p-6
, ring-1
, ring-white/10
, ring-inset
.h-7 w-5 text-blue-500
.h3
) and description text classes: text-white
, text-gray-300
, text-base
, leading-7
, font-bold
.