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

utilities/aria-states

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

aria-* variants for ARIA attribute styling

Use aria-* variants to conditionally style elements based on ARIA attributes. Common boolean ARIA variants include aria-busy, aria-checked, aria-disabled, aria-expanded, aria-hidden, aria-pressed, aria-readonly, aria-required, and aria-selected. For example, aria-checked:bg-sky-700 applies when aria-checked="true". You can use arbitrary values with square brackets for custom ARIA attributes, like aria-[sort=ascending]:bg-[url('/img/down-arrow.svg')].

group-aria-* and peer-aria-* for parent and sibling ARIA targeting

ARIA state variants can also target parent and sibling elements using group-aria-* and peer-aria-* variants. For example, group-aria-[sort=ascending]:rotate-0 applies rotate-0 to elements inside a .group parent that has aria-sort="ascending".

aria-* variants for ARIA attributes

Tailwind v3.2 includes aria-* variants for common boolean ARIA attributes: aria-checked, aria-disabled, aria-expanded, aria-hidden, aria-pressed, aria-readonly, aria-required, and aria-selected. Each targets the attribute with value="true", such as aria-checked:bg-blue-600. You can customize available modifiers via theme.aria or theme.extend.aria in tailwind.config.js. Arbitrary values are supported via aria-[attribute=value]:utility syntax. These work with group-aria-* and peer-aria-* for parent/sibling targeting.

Give your agent this brain