“CSS de viento de cola” Código de respuesta

CSS de viento de cola

<!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

CSS de viento de cola

npm install tailwindcss@latest
Glamorous Gannet

CSS de viento de cola

<!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

CSS de viento de cola

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

CSS de viento de cola

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

CSS de viento de cola

<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

CSS de viento de cola

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

CSS de viento de cola

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

Respuestas similares a “CSS de viento de cola”

Preguntas similares a “CSS de viento de cola”

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código