new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Tailwind CSS v4 · all subjects

out of scope

7 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Optional CSS input file in Tailwind v1.6 CLI

In Tailwind CSS v1.6, the input file argument for the tailwindcss CLI tool is now optional. If no custom CSS is needed, you can generate CSS directly without a source file using: npx tailwindcss build -o compiled.css

Tailwind CSS v1.8.0 release date

Tailwind CSS v1.8.0 was released on September 4, 2020.

@tailwindcss/typography plugin for styling HTML content

The @tailwindcss/typography plugin provides a set of prose classes that can be applied to blocks of vanilla HTML content to style them with beautiful typographic defaults. This plugin was released to solve the problem of styling articles, documents, and blog posts that come from rich-text editors or markdown files. It allows developers to apply classes like 'prose' and responsive variants like 'lg:prose-xl' to HTML elements to get professional typography without needing to write complex custom CSS.

Tailwind removes default browser styling on typography elements

By default, Tailwind CSS removes all default browser styling from paragraphs, headings, lists, and other typography elements. This is useful for building application UIs where you want to avoid undoing user-agent styles, but can be unintuitive when styling content from rich-text editors or markdown files.

prose class example for HTML content

To style a block of vanilla HTML content with the @tailwindcss/typography plugin, wrap it with the prose class and optional responsive variants: <article class="prose lg:prose-xl"><h1>Garlic bread with cheese: What the science tells us</h1><p>For years parents have espoused the health benefits of eating garlic bread with cheese to their children, with the food earning such an iconic status in our culture that kids will often dress up as warm, cheesy loaf for Halloween.</p><p>But a recent study shows that the celebrated appetizer may be linked to a series of rabies cases springing up around the country.</p></article>

out of scope: v3.1 blog post content

This source is a blog post about Tailwind CSS v3.1 released in June 2022. The goal is to document v4 specifically, so most of this content is out of scope except where it documents changes that are still relevant in v4.

Tailwind CSS v3.0 release date

Tailwind CSS v3.0 was released on December 9, 2021.

Give your agent this brain