Align the flex items in the bottom of the container in CSS

Use the align-items property with value flex-end to align flex items on the bottom.


You can try to run the following code to implement the flex-end value

Live Demo

<!DOCTYPE html>
         .mycontainer {
            display: flex;
            height: 300px;
            background-color: #5DADE2;
            align-items: flex-end;
         .mycontainer > div {
            background-color: #F2F3F4;
            text-align: center;
            line-height: 60px;
            font-size: 30px;
            width: 100px;
            margin: 5px;
      <h1>SOCIAL SECURITY Numbers</h1>
      <div class = "mycontainer">
karthikeya Boyini
karthikeya Boyini

I love programming (: That's all I know