align Self

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

CSS align-self Property

Example

Center the alignments for one of the items inside a flexible element:

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

}

Definition and Usage

The align-self property specifies the alignment for the selected item inside the flexible container.

CSS Syntax

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