css align items stretch code example
Example 1: how to align items in css
div
{
display:flex;
align-items:center;
justify-content:center;
}
Example 2: css flex
.container {
display: flex; /* or inline-flex */
}
div
{
display:flex;
align-items:center;
justify-content:center;
}
.container {
display: flex; /* or inline-flex */
}