Hello, in this video, I am going to cover the float utility in bootstrap, so the float utility allows
you to use classes to essentially change the way the content displays.
They can have a float left, float right or float none and none as well.
No float property.
So I will provide a link to the float page on Bootstrap five and you can check out all the different
classes.
But what you learn here will be applicable to the rest of the classes.
Let's say if I go here and I to Dave and before anything in there, let's say I put a note right on
or site that refresh, it's to the left, to the left of its parent container, which is roughly there.
OK, so but if I was to put the class float dash right.
This school now put it all way to the right all the time relative in its parent content, that is really
cool, but that is on all sizes.
You may not want that.
So let's say if I want something similar, but I only want you on the right on it.
Extra, extra large a size.
So what I can do is I'm going to just duplicate this.
You know what, Elamine?
You apply to what your parent elements are.
You've totally up to you.
And for this float, right?
Only on XXL currently five refresh as soon as we start taking a break point, which we just did the.
It's still on the right, but we want wanted to go back to the left, so all we need to do is provide
a series of XXL dash.
So this means only apply the float right.
Property on this Thalis or do that reload and nothing's changed, but also resides in the window are
triggered the extra large break point.
It's now on the left, unlike the one that's always floating on the right.
And if obviously I refresh and the page is reloaded on a small screen.
So if I start making it big, a big, big, big, big a16, when I hit the extra extra large break point,
it triggered it back to the right so that the rest of the classes, the likes of the left, right and
on, and then there's all these size classes and you can be left, right and non as well.
If, for example, you wanted to put it only on, if a large an extra extra large, you could just put
the extra law in the right property and the large ones so you can combine them as well.
So that's not a problem.
So there's a lot of flexibility there.
Really simple stuff.
The floor properties.
If you have any questions, as usual, contact me on D'Escoto via my website at all the links.
Everything is in the description.
And as usual, I look forward to seeing you in the next video.