not tailwindcss

Rapidly build a clone of Tailwind's landing page with Code Hike.

A utility-first CSS framework packed with classes like flex, pt-4, text-center and rotate-90 that can be composed to build any design, directly in your markup.

hello.html

_20
<figure class="rounded-xl bg-slate-800">
_20
<img class="w-24 h-24" src="/sarah-dayan.jpg" alt="" width="384" height="512">
_20
<div class="pt-6 space-y-4">
_20
<blockquote>
_20
<p class="text-lg font-medium">
_20
“Tailwind CSS is the only framework that I've seen scale
_20
on large teams. It’s easy to customize, adapts to any design,
_20
and the build size is tiny.”
_20
</p>
_20
</blockquote>
_20
<figcaption class="font-medium">
_20
<div class="text-sky-400">
_20
Sarah Dayan
_20
</div>
_20
<div class="text-slate-500">
_20
Staff Engineer, Algolia
_20
</div>
_20
</figcaption>
_20
</div>
_20
</figure>

“Tailwind CSS is the only framework that I've seen scale on large teams. It’s easy to customize, adapts to any design, and the build size is tiny.”

Sarah Dayan

Staff Engineer, Algolia

Modern features

Cutting-edge is our comfort zone.

Tailwind is unapologetically modern, and takes advantage of all the latest and greatest CSS features to make the developer experience as enjoyable as possible.

We've got first-class CSS grid support, composable transforms and gradients powered by CSS variables, support for modern state selectors like :focus-visible, and tons more.

hello.html

_17
<div class="grid grid-flow-col grid-rows-2 grid-cols-3 gap-8">
_17
<div>
_17
<img src="/mountains-1.jpg" alt="" loading="lazy">
_17
</div>
_17
<div class="col-start-3">
_17
<img src="/mountains-2.jpg" alt="" loading="lazy">
_17
</div>
_17
<div>
_17
<img src="/mountains-3.jpg" alt="" loading="lazy">
_17
</div>
_17
<div>
_17
<img src="/mountains-4.jpg" alt="" loading="lazy">
_17
</div>
_17
<div class="row-start-1 col-start-2 col-span-2">
_17
<img src="/mountains-5.jpg" alt="" loading="lazy">
_17
</div>
_17
</div>

State variants

Hover and focus states? We got ’em.

Want to style something on hover? Stick hover: at the beginning of the class you want to add. Works for focus, active, disabled, focus-within, focus-visible, and even fancy states we invented ourselves like group-hover.

Not into component frameworks?

Use Tailwind's @apply directive to extract repeated utility patterns into custom CSS classes just by copying and pasting the list of class names.

Weekly one-on-one

Date and time
-
Location
Kitchener, ON
Description
No meeting description
Attendees
Andrew McDonald
Decline
Accept
styles.css

_11
.btn {
_11
@apply text-base font-medium rounded-lg p-3;
_11
}
_11
_11
.btn--primary {
_11
@apply bg-sky-500 text-white;
_11
}
_11
_11
.btn--secondary {
_11
@apply bg-slate-100 text-slate-900;
_11
}

index.html

_11
<article>
_11
<dl>
_11
<div>
_11
<button class="btn btn--secondary">Decline</button>