“CSS du vent arrière” Réponses codées

CSS du vent arrière

<!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 du vent arrière

npm install tailwindcss@latest
Glamorous Gannet

CSS du vent arrière

<!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 du vent arrière

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

CSS du vent arrière

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

CSS du vent arrière

<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 du vent arrière

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

CSS du vent arrière

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

Réponses similaires à “CSS du vent arrière”

Questions similaires à “CSS du vent arrière”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code