tailwindcss.com > 자유게시판

본문 바로가기
사이트 내 전체검색

자유게시판

tailwindcss.com

페이지 정보

profile_image
작성자 tailwindcss
댓글 0건 조회 3회 작성일 25-03-17 04:42

본문

v4.0

Ctrl K
Docs
Blog
Showcase
Plus
text-6xl
text-white
tracking-tighter
text-balance
Rapidly build modern websites without ever leaving your HTML.
text-lg
text-white
 font-medium
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.

Get started
Quick search
Ctrl K
<div class="flex flex-col items-center p-7 rounded-2xl">
  <div>
    <img class="size-48 shadow-xl rounded-md" alt="" src="/img/cover.png" />
  </div>
  <div class="flex">
    <span class="text-2xl font-medium">Class Warfare</span>
    <span>The Anti-Patterns</span>
    <span class="flex">
      <span>No. 4</span>
      <span>·</span>
      <span>2025</span>
    </span>
  </div>
</div>

Class Warfare
The Anti-Patterns
No. 4
·
2025
Why Tailwind CSS?

Built for the modern web.
text-base
text-white
Tailwind is unapologetically modern, and takes advantage of all the latest and greatest CSS features to make the developer experience as enjoyable as possible.

Responsive design
Okay, it’s not exactly cutting edge, but just throw a screen size in front of literally any utility to apply it at a specific breakpoint.

Mobile
sm
md
lg
xl

Entire house
Beach House on Lake Huron
2.66
(128 reviews)
·
Bayfield, ON
Check availability
This sunny and spacious room is for those traveling light and looking for a comfy and cozy place to lay their head for a night...

Show more
Filters
What’s a website these days without a few backdrop blurs? Keep stacking filters until your designer asks you to please, please stop.

blur-sm
brightness-150
grayscale
contrast-150
saturate-200
sepia

Dark mode
If you’re not a fan of burning your retinas, just stick dark: in front of any color to apply it in dark mode.



CSS variables
Customizing your theme is as simple as creating a few CSS variables.

@theme {
  --font-sans: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --text-tiny: 0.625rem;
  --text-tiny--line-height: 1.5rem;
  --color-mint-100: oklch(0.97 0.15 145);
  --color-mint-200: oklch(0.92 0.18 145);
  --color-mint-300: oklch(0.85 0.22 145);
  --color-mint-400: oklch(0.78 0.25 145);
  --color-mint-500: oklch(0.7 0.28 145);
  --color-mint-600: oklch(0.63 0.3 145);
  --color-mint-700: oklch(0.56 0.32 145);
  --color-mint-800: oklch(0.48 0.35 145);
  --color-mint-900: oklch(0.4 0.37 145);
  --color-mint-950: oklch(0.3 0.4 145);
}
P3 colors
The color palette now uses more vibrant wide gamut colors without you needing to understand what any of that even means.

red
orange
amber
yellow
lime
green
emerald
teal
cyan
sky
blue
indigo
violet
purple
fuchsia
pink
rose
950
900
800
700
600
500
400
300
200
100
50
CSS grid layout
Using grid utilities directly in your HTML makes it so much easier to reason about complex layouts.

Browse properties

Treehouses

Mansions

Lakefront cottages

Designer homes
Transitions and animations
Transitions that work the way you'd expect — throw a few utilities on an element and you're in business.

linear

ease-out

ease-in-out

ease-in

Cascade layers
Tailwind uses CSS layers so you don’t have to worry about specificity issues.

@layer theme, base, components, utilities;
@layer theme {
  :root {
    /* Your theme variables */
  }
}
@layer base {
  /* Preflight styles */
}
@layer components {
  /* Your custom components */
}
@layer utilities {
  /* Your utility classes */
}
Logical properties
Supporting multiple language text directions is no longer a nightmare.

ltr
rtl

Will Winton
Director of Operations

Kristin Yardly
Marketing Coordinator

Emanual Cuccittini
Staff Engineer

Kiara Smith
VP of Engineering
سارة أحمد
مديرة مشاريع

علي محمد
مطور برمجيات

خالد عمر
مصمم واجهات المستخدم

Container queries
Tag an element as a container to let children adapt to changes in its size.

<div class="@container">
  <div class="grid grid-cols-1 @sm:grid-cols-2">
    <img
      src="/img/photo-1.jpg"
      class="aspect-square @sm:aspect-3/2 object-cover"
    />
    <img
      src="/img/photo-2.jpg"
      class="aspect-square @sm:aspect-3/2 object-cover"
    />
    <img
      src="/img/photo-3.jpg"
      class="aspect-square @sm:aspect-3/2 object-cover"
    />
    <img
      src="/img/photo-4.jpg"
      class="aspect-square @sm:aspect-3/2 object-cover"
    />
  </div>
</div>
Gradients
No need to remember that complicated gradient syntax — create silky-smooth gradients with just a few utility classes.

Power Meets Precision
Redefining real-time performance
Our next-generation rendering engine delivers unmatched speed and efficiency, empowering creators to push boundaries like never before.

Render time performance
6.4x
Real-time frame rate
4.2x
Multi-platform build time
2.7x
3D transforms
Sometimes two dimensions aren’t enough. Scale, rotate, and translate any element in 3D space to add a touch of depth.


How it works

Ship faster and smaller.
text-base
text-white
Tailwind automatically removes all unused CSS when building for production, which means your final CSS bundle is the smallest it could possibly be. In fact, most Tailwind projects ship less than 10kB of CSS to the client.

index.html
app.css
package.json
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Tailwind CSS</title>
    <link rel="stylesheet" href="/build.css" />
  </head>
  <body>
    <button class=""></button>
  </body>
</html>
Terminal
build.css
@layer utilities {
}
text-4xl text-white tracking-tighter
Tailwind in the wild

Build whatever you want, without touching your CSS file.
text-base
text-white
Because Tailwind is so low-level, it never encourages you to design the same site twice. Some of your favorite sites are built with Tailwind, and you probably had no idea.

OpenAI
Opal
Feastables
Gumroad
Skims
Reddit
Rivian
Shopify
Clerk
Poolside
Midjourney
NASA
Ready-made Components

Move even faster with Tailwind Plus.
text-base
text-white
Tailwind Plus is a collection of beautiful, fully responsive UI components, designed and developed by us, the creators of Tailwind CSS. It's got hundreds of ready-to-use examples to choose from, and is guaranteed to help you find the perfect starting point for what you want to build.

Explore Tailwind Plus

Templates

Visually-stunning, easy to customize site templates built with React and Next.js.


UI Blocks

Over 500+ professionally designed, fully responsive, expertly crafted components.


UI Kit

A starter kit for building your own component systems with React and Tailwind CSS.


Learn
Documentation
Showcase
Blog
Playground
Tailwind Plus
UI Blocks
Templates
UI Kit
Resources
Refactoring UI
Headless UI
Heroicons
Hero Patterns
Community
GitHub
Discord
X
Copyright © 2025 Tailwind Labs Inc.
·
Trademark Policy

shadcn.com - 2025-03-17 (shadcn)


댓글목록

등록된 댓글이 없습니다.

Total 239건 1 페이지

검색

회원로그인

회원가입
새글

To Do List
  • Test 계정 만들기
  • 다른 회원의 스크랩 보기


사이트 정보

회사명 : 회사명 / 대표 : 대표자명
주소 : OO도 OO시 OO구 OO동 123-45
사업자 등록번호 : 123-45-67890
전화 : 02-123-4567 팩스 : 02-123-4568
통신판매업신고번호 : 제 OO구 - 123호
개인정보관리책임자 : 정보책임자명

접속자집계

오늘
281
어제
481
최대
970
전체
14,606
Copyright © 소유하신 도메인. All rights reserved.