@extends('layouts.master') @section('title') @lang('translation.Utilities') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') UI Elements @endslot @slot('title') Utilities @endslot @endcomponent
Use border utilities to add or remove an element’s borders. Choose from all borders or one at a time.
.border
.border-1
.border-2
.border-3
.border-4
.border-5
.border
.border-top
.border-end
.border-bottom
.border-start
.border-0
.border-top-0
.border-end-0
.border-bottom-0
.border-start-0
.border-primary
.border-secondary
.border-success
.border-danger
.border-info
.border-warning
.border-dark
default
.border-opacity-75
.border-opacity-50
.border-opacity-25
.border-opacity-10
.rounded
.rounded-top
.rounded-end
.rounded-bottom
.rounded-start
.rounded-circle
.rounded-pill
.rounded-0
.rounded-1
.rounded-2
.rounded-3
.rounded-4
.rounded-5
Use .vstack
to create vertical layouts. Stacked items are
full-width by default. Use .gap-*
utilities to add space between items.
Use .vstack
to create vertical layouts. Stacked items are
full-width by default. Use .gap-*
utilities to add space between items.
Using horizontal margin utilities like ms-auto as spacers:
Add the object-fit-{value}
class to the replaced element
.object-fit-contain
.object-fit-cover
.object-fit-fill
.object-fit-scale
.object-fit-none
Use z-index
utilities to stack elements on top of one another.
Requires a position
value other than static
, which can be set with custom
styles or using our position
utilities.
While shadows on components are disabled by default in Bootstrap and can be
enabled via $enable-shadows
, you can also quickly add or remove a shadow with our
box-shadow
utility classes. Includes support for .shadow-none
and three
default sizes (which have associated variables to match).
.shadow-none
shadow-sm
shadow
shadow-lg