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/position

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

Position utility classes in Tailwind CSS

Tailwind CSS provides five position utility classes: static (position: static), fixed (position: fixed), absolute (position: absolute), relative (position: relative), and sticky (position: sticky).

Static positioning behavior

The static utility positions an element according to the normal flow of the document. With statically positioned elements, any offset utilities are ignored and the element will not act as a position reference for absolutely positioned children.

Relative positioning behavior

The relative utility positions an element according to the normal flow of the document. With relatively positioned elements, any offset utilities are calculated relative to the element's normal position and the element will act as a position reference for absolutely positioned children.

Absolute positioning behavior

The absolute utility positions an element outside of the normal flow of the document, causing neighboring elements to act as if the element doesn't exist. With absolutely positioned elements, any offset utilities are calculated relative to the nearest parent that has a position other than static, and the element will act as a position reference for other absolutely positioned children.

Fixed positioning behavior

The fixed utility positions an element relative to the browser window. With fixed positioned elements, any offset utilities are calculated relative to the viewport and the element will act as a position reference for absolutely positioned children.

Sticky positioning behavior

The sticky utility positions an element as relative until it crosses a specified threshold, then treats it as fixed until its parent is off screen. With sticky positioned elements, any offset utilities are calculated relative to the element's normal position and the element will act as a position reference for absolutely positioned children.

Give your agent this brain