Define utility in Tailwind.
A single-purpose class that applies a specific style to an element.
What are variants in Tailwind?
Modifiers that change styles based on states like hover or focus.
True or false: Precedence determines which styles apply when multiple are present.
TRUE
Precedence is influenced by specificity and order of styles.
Fill in the blank: The cascade refers to the order in which styles are ______.
applied
What is the role of selectors in CSS?
Selectors target HTML elements to apply specific styles.
Define specificity.
A measurement of how specific a selector is in applying styles.
True or false: More specific selectors override less specific ones.
TRUE
What does inherit mean in CSS?
A property value that is passed from a parent element to a child.
Fill in the blank: Important can override any style declaration in CSS when used with ______.
a property
What is a responsive utility in Tailwind?
A utility that changes based on the screen size or breakpoint.
Define pseudo-class.
A special state of an element, like :hover or :focus.
True or false: The cascade affects how styles are applied in Tailwind.
TRUE
What is the purpose of @apply in PostCSS?
To apply multiple utility classes within a custom CSS rule.
Fill in the blank: The !important rule is used to make a style ______.
override others
What does responsive design mean?
Design that adapts to different screen sizes and orientations.
Define media query.
A CSS technique to apply styles based on device characteristics.
True or false: Tailwind uses a mobile-first approach for its utilities.
TRUE
What is a custom utility in Tailwind?
A user-defined utility class that extends Tailwind’s functionality.
Fill in the blank: Cascading stylesheets allow for ______ of styles.
layering
What is style precedence?
The order in which conflicting styles are resolved.
Define global styles.
Styles that apply across an entire website or application.
True or false: Specificity can be calculated using a point system.
TRUE
What is a utility-first framework?
A CSS framework that emphasizes using utility classes for styling.
Fill in the blank: Tailwind encourages the use of ______ for rapid UI development.
utility classes