All right.
Just one less flex box property.
This one is going to be a line self.
It's another property that we're going to add on to child elements align self essentially overrides
the value of a line items on the parent element.
Let's take a look at a diagram or two okay.
So remember by default a line items has a value of stretch.
That means that on the parent element all of its children are going to try to stretch in the horizontal
direction and fill up as much space as possible.
We can override that by placing a line self on some child element.
So in this example right here we can imagine that we set a line self of flex end on child to that's
going to make child to move all the way to the right hand side the screen.
We could also do say a flex or me aligned self of center that's going to center child 2 or even flex
start which will push child you all the way to the left hand side instead.
So as usual let's test this out really quickly OK.
Back over here I'm going to remove the Flex properties that I added in so flex 4 and 4 and 2 are now
gone.
I say this again.
There we go.
Let's not try applying a line self to child number two.
First try out a value of center which should make child two alone center on the screen.
I'll save it and Yup.
Sure enough.
There we go.
We can also do a flex start that's going to move that all the way to a left hand side and a flex end
simple enough.
Now we can also change the default or we can change a line items on view style up here.
Let's say that we set a a line items of center so now Child 1 and 3 should center themselves.
But child 2 will remain on the right hand side.
So I'll say this once again.
And there we go.
We can also set in a line self of say stretch which is now going to make child number two stretch the
entire width.
But one and three are going to stay centered so I'll say that once again.
And there we go.
OK.
So again a self pretty straight forward.
It's just going to allow us to override the line items on the parent element.
OK.
That's pretty much it for Flex box.
So there's one last system we're going to take a look at and we're going to combine all these three
systems together you know learn how we can actually set up an effective layout for our applications.