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/mask-size

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.

mask-size utility classes

The mask-size utilities control the size of an element's mask image. Available classes are: mask-auto (mask-size: auto), mask-cover (mask-size: cover), mask-contain (mask-size: contain), mask-size-(<custom-property>) (mask-size: var(<custom-property>)), and mask-size-[<value>] (mask-size: <value>).

mask-cover utility purpose

The mask-cover utility scales the mask image until it fills the mask layer, cropping the image if necessary. It sets mask-size: cover.

mask-contain utility purpose

The mask-contain utility scales the mask image to the outer edges without cropping or stretching. It sets mask-size: contain.

mask-auto utility purpose

The mask-auto utility displays the mask image at its default size. It sets mask-size: auto.

mask-size custom property syntax

Custom property values can be used with mask-size by wrapping them in parentheses: mask-size-(<custom-property>) generates mask-size: var(<custom-property>).

mask-size arbitrary value syntax

Arbitrary values for mask-size can be provided using square brackets: mask-size-[<value>] generates mask-size: <value>.

mask-size responsive design support

The mask-size utilities support responsive design using Tailwind's standard responsive prefix syntax. The default class is mask-auto and an example featured class is mask-contain.

Give your agent this brain