You are here : cssCSS 3align-self

align-self - CSS 3

The align-self property specifies the alignment for the selected item inside the flexible container.Note: The align-self property overrides the flexible container's align-items property.


Syntax

align-self: auto|stretch|center|flex-start|flex-end|baseline|initial|inherit;


Example

#myBlueDiv
	{    -webkit-align-self: center; /* Safari 7.0+ */
	   
	align-self: center;}


Output / Return Value


Limitations


Alternatives / See Also


Reference