Atualizado
Atualizado
Bootstrap 5 has a lot of utility/helper classes to quickly style elements without using any CSS code.
Quickly manage the layout, alignment, and sizing of grid columns, navigation, components, and more with a full suite of responsive flexbox utilities. For more complex implementations, custom CSS may be necessary.
I'm a flexbox container!Copy
I'm an inline flexbox container!Copy
Responsive variations also exist for .d-flex
and .d-inline-flex
.
.d-flex
.d-inline-flex
.d-sm-flex
.d-sm-inline-flex
.d-md-flex
.d-md-inline-flex
.d-lg-flex
.d-lg-inline-flex
.d-xl-flex
.d-xl-inline-flex
Flex itemFlex itemFlex itemCopy
Flex itemFlex itemFlex itemCopy
Flex itemFlex itemFlex itemCopy
Easily realign text to components with text alignment classes.
Left aligned text.
Copy
Center aligned text.
Copy
Right aligned text.
Copy
Images in Bootstrap are made responsive with .img-fluid
. max-width: 100%;
and height: auto;
are applied to the image so that it scales with the parent element.
Copy