The baseline and flex-start values for align-items doesn't shows any variations between. I am unable to differentiate between both values because both works same. The code which I used to differentiate between baseline and flex-start is:
div {
border-right: 1px solid #ff0;
width: 12vh;
background-color: orange;
}
.container div:nth-child(1) {
height: 100px;
}
.container div:nth-child(2) {
height: 50px
}
.container {
height: 130px;
border: 2px solid red;
display: flex;
}
#st {
flex-direction: row;
align-items: baseline;
}
#nd {
flex-direction: row;
align-items: flex-start;
}
<section class=container id=st>
<div>1</div>
<div>2</div>
<div>3</div>
</section>
<section class=container id=nd>
<div>1</div>
<div>2</div>
<div>3</div>
</section>
what is the difference between baseline and flex-start. Editing my code such that baseline and flex-start shows difference is very helpful if you want to answer my question