“Tailwind CSS” Kod odpowiedzi

Tailwind CSS

<!doctype html>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
  <h1 class="text-3xl font-bold underline">
    Hello world!
  </h1>
</body>
</html>
Stefano

Tailwind CSS

npm install tailwindcss@latest
Glamorous Gannet

Tailwind CSS

<!doctype html>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script src="https://cdn.tailwindcss.com?plugins=forms,typography,aspect-ratio,line-clamp"></script>
</head>
<body>
  <div class="prose">
    <!-- ... -->
  </div>
</body>
</html>
Nervous Newt

Tailwind CSS

/* TailwindCSS is a CSS framework. It helps reduce the code you write.*/
Fancy Fly

Tailwind CSS

npx tailwindcss -i ./src/input.css -o ./dist/output.css --watch
Excited Eel

Tailwind CSS

<figure class="bg-slate-100 rounded-xl p-8 dark:bg-slate-800">
  <img class="w-24 h-24 rounded-full mx-auto" src="/sarah-dayan.jpg" alt="" width="384" height="512">
  <div class="pt-6 space-y-4">
    <blockquote>
      <p class="text-lg font-medium">
        “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.”
      </p>
    </blockquote>
    <figcaption class>
      <div>
        Sarah Dayan
      </div>
      <div>
        Staff Engineer, Algolia
      </div>
    </figcaption>
  </div>
</figure>
duni

Tailwind CSS

<link href="https://unpkg.com/[email protected]/dist/tailwind.min.css" rel="stylesheet">
Undefined

Tailwind CSS

Tailwind is designed to be component friendly. It is so much easier 
to separate a site's elements into smaller components and not pollute 
the codebase with objects or extraneous CSS classes. Furthermore, 
every class is inlined in the component, making it much easier to read and 
understand.
Mehedi Islam Ripon

Odpowiedzi podobne do “Tailwind CSS”

Pytania podobne do “Tailwind CSS”

Więcej pokrewnych odpowiedzi na “Tailwind CSS” w CSS

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu