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

theme configuration

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

v3.1 theme() function with opacity adjustment

Tailwind CSS v3.1 adds support for adjusting the alpha channel of colors retrieved with the theme() function using slash syntax. Example: theme(colors.gray.100 / 50%) adjusts the opacity to 50%. This works in both CSS files and in the tailwind.config.js file when extending theme values.

v3.1 Simplified CSS variable color configuration

Tailwind CSS v3.1 simplifies CSS variable color configuration by allowing format strings instead of functions. Instead of using a withOpacityValue function, you can now write: primary: "rgb(var(--color-primary) / <alpha-value>)". Tailwind replaces the <alpha-value> placeholder with the correct alpha value based on the utility.

Give your agent this brain