@right-middle — page margin box
@right-middle defines the right / middle page margin box in paged media; it is generated inside @page rather than matching an element.
CKTIS / CSS
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
@right-middle defines the right / middle page margin box in paged media; it is generated inside @page rather than matching an element.
@right-top defines the right / top page margin box in paged media; it is generated inside @page rather than matching an element.
The @scope rule restricts nested style-rule matching to a subtree or fragment defined by roots and optional lower limits.
The @starting-style rule supplies a before-change style for an element that had no previously rendered style.
The @supports rule activates nested styles only when the engine satisfies the stated support condition.
@top-center defines the top / center page margin box in paged media; it is generated inside @page rather than matching an element.
@top-left defines the top / left page margin box in paged media; it is generated inside @page rather than matching an element.
@top-left-corner defines the top-left / corner page margin box in paged media; it is generated inside @page rather than matching an element.
@top-right defines the top / right page margin box in paged media; it is generated inside @page rather than matching an element.
@top-right-corner defines the top-right / corner page margin box in paged media; it is generated inside @page rather than matching an element.
@view-transition enables visual transitions for eligible navigations between same-origin documents.
Accessibility in CSS means designing presentation that preserves visible focus and accommodates user needs. It is a practice spanning multiple modules, not a property named accessibility.
CSS evolves as a set of modules rather than one specification with a shared version number. An audit connects the definition index, defining module, pinned compatibility data, and a concrete example test without equating specification inclusion with browser support.
The box model describes the content area and its surrounding padding, border, and margin. Learn how box-sizing affects dimensions and why the margins of adjacent blocks do not always add together.
The cascade chooses a declaration for a particular property on an element. Specificity is only one criterion: origins, !important, and layers can settle a conflict before selector specificity is compared.
Values of type <color> specify colors for text, backgrounds, and borders. An alpha channel controls a color’s transparency, while blend modes describe how its components combine with a backdrop. These are different mechanisms that can work together.
Custom properties store values consumed by var(). The cascade and inheritance let you share design tokens and override them locally, for example to create a dark theme.
Flexbox arranges items along one axis, distributes available space, and controls alignment. Learn about its container, layout axes, wrapping, and the flex shorthand.
CSS defines the presentation of form controls and responds to their state through pseudo-classes. Preserve HTML semantics and visible focus; native control rendering can differ between browsers and operating systems.
CSS Grid arranges items in rows and columns. Subgrid lets a nested grid share its parent grid’s tracks in one or both axes, allowing content inside different elements to align.
CSS can reference additional stylesheets and fonts. Learn the distinction between fetching a resource and using it, and how to reduce network dependencies without promising a fixed rendering time.
CSS controls how images and media content are displayed, from background images and gradients to fitting the content of img and video elements. The key distinction is between an element’s size, its content’s size, and its decorative background.
CSS describes document presentation, not document metadata or search-engine directives. Distinguish content appearance, HTML semantics, and document metadata; styling alone does not establish SEO outcomes.
CSS motion includes transitions between states, keyframe animations, and effects linked to scrolling. Distinguish changes to an element’s appearance from changes to scroll position, and respect the user’s preference for reduced motion.