styleditor.net styleditor.net styleditor.net styleditor.net עברית accent-coloralignalign-contentalign-itemsalign-selfalignment-baselineallanchoranimationappearanceaspect-ratiobackdrop-filterbackface-visibilitybackgroundbaselineblock-sizeborderbottomboxbreakcaption-sidecaretclearclipcolorcolumncolumnscontaincontainercontentcornercountercursorcxcyddirectiondisplaydominant-baselinedynamic-range-limitempty-cellsfield-sizingfillfilterflexfloatfloodfontforced-color-adjustgapgridheighthyphenatehyphensimageime-modeinitial-letterinline-sizeinsetinteractivityinterestinterpolate-sizeisolationjustifyleftletter-spacinglighting-colorlinelistmarginmarkermaskmathmaxminmix-blend-modeobjectoffsetopacityorderorphansoutlineoverflowoverlayoverscrollpaddingpagepaint-orderperspectiveplacepointer-eventspositionprint-color-adjustquotesrreadingresizerightrotaterowrubyrulerxryscalescrollscrollbarshapespeakstopstroketab-sizetable-layouttexttimelinetoptouch-actiontransformtransitiontranslatetrigger-scopeunicode-bidiuser-selectvector-effectvertical-alignviewvisibilitywhitewidowswidthwill-changewordwriting-modexyz-indexzoom

align-self CSS Property

The align-self property aligns the box within its containing block along the block/cross axis, overriding the parent's align-items. Applies to flex items, grid items, and absolutely-positioned boxes. .item { align-self: center; } .grid-item { align-self: safe start; } autoDefault — inherits parent's align-items.normalDefault alignment per layout mode.stretchStretches the box to fill the container.startAligns to start edge.endAligns to end edge.centerCenters.self-startAligns to item's own start side.self-endAligns to item's own end side.baselineComputes to first baseline.first baselineAligns to first baseline.last baselineAligns to last baseline.flex-start(flex) Aligns to cross-start.flex-end(flex) Aligns to cross-end.anchor-centerAligns to anchor center.safeOverflow modifier: if overflowing, behaves as start.unsafeOverflow modifier: honors alignment even if it overflows. CSS Box Alignment Module Level 3 Editor's Draft W3CMDN CSS CSS CSS Show all code Edit CSS online The plugin that remembers hundreds of CSS items for you Every CSS property — in a live demonstration The bilingual CSS reference
definitionexamplessyntaxmodulespecificationsourcesvisual demonstration