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 · Utilities reference · all subjects

inset/examples

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

Example: pin to top left corner

To pin an element to the top left corner of a positioned parent, use the classes: absolute top-0 left-0.

Example: span top edge with inset-x

To span an element across the top edge of a positioned parent, use the classes: absolute inset-x-0 top-0 h-16. The inset-x-0 sets left and right to 0, and top-0 pins it to the top.

Example: fill entire parent with inset

To make an element fill the entire positioned parent, use the class: absolute inset-0. This sets top, right, bottom, and left to 0.

Example: span left edge with inset-y

To span an element along the left edge of a positioned parent, use the classes: absolute inset-y-0 left-0 w-16. The inset-y-0 sets top and bottom to 0, and left-0 pins it to the left.

Example: negative positioning

To apply negative positioning, use the classes: absolute -top-4 -left-4. This positions an element 4 units outside and above the top-left corner of its positioned parent.

Give your agent this brain