top — top inset
The top property specifies a positioned element’s top inset. Its meaning depends on position; it has no effect with static.
CKTIS / Knowledge base
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
The top property specifies a positioned element’s top inset. Its meaning depends on position; it has no effect with static.
The touch-action property controls permitted touch panning and zooming. It can restrict one axis without unnecessarily disabling zoom.
The transform property translates, rotates, scales, or skews an element without changing the flow of surrounding content. Function order matters.
transform-box selects the reference rectangle for transformations and their origin. It affects percentage translations and the interpretation of transform-origin in CSS and SVG.
transform-origin defines the point around which an element rotates or scales. It accepts keywords, lengths, and percentages.
The transform-style property controls whether descendants are flattened or share a three-dimensional rendering space.
The transition property defines a transition between old and new CSS property values. It combines property selection, duration, easing, delay, and the behavior of discrete transitions.
transition-behavior determines whether CSS transitions can include discrete changes. The allow-discrete value permits a value to switch during a transition, but does not turn that switch into smooth interpolation.
The transition-delay property sets the start offset of a CSS transition: positive values introduce a wait, while negative values skip the beginning if part of the transition still remains.
The transition-duration property sets how long a CSS transition changes a value, separately from its delay.
transition-property selects CSS properties whose changes can trigger a transition. It does not set the duration or target values; those come from separate declarations.
The transition-timing-function property determines how elapsed-time progress maps to value-change progress during a CSS transition. It enables uniform motion, acceleration, deceleration, or jumps without changing the declared duration.
The translate property moves an element along X, Y, and optionally Z independently of transform. It changes visual position while preserving the element’s place in layout.
trigger-scope restricts trigger-name visibility to a subtree, helping isolate independent components.
unicode-bidi controls embedding, isolation, or forced text ordering in the Unicode bidirectional algorithm. It works with direction and does not change the source text.
The user-select property controls how users can select an element’s content. It does not provide copy protection.
The `vector-effect` property changes how SVG renders under transformations. The `non-scaling-stroke` value preserves stroke thickness while the geometry continues to scale.
The vertical-align property controls an inline-level element’s alignment relative to a baseline or line box. It also has a separate meaning for table cells. It is not a general way to center content inside an arbitrary block.
The view-timeline property declares a named progress timeline on an element, driven by its position in a scrolling area. It combines the name, axis, and insets; an animation connects to it separately through animation-timeline.
view-timeline-axis selects the scrolling axis used by an element’s named view progress timeline. It distinguishes the logical block and inline axes from the physical x and y axes.
view-timeline-inset adjusts the visibility region used to calculate a named view timeline’s progress.
view-timeline-name assigns names to timelines based on an element moving through a scrollport. An animation references a name through animation-timeline; its progress depends on scrolling rather than elapsed seconds.
The view-transition-class property assigns labels for sharing styles across view transition pseudo-elements with different names.
The view-transition-group property controls the hierarchy of named groups during a view transition, independently of DOM layout.