Source

Overview

Components et optiones ad propositum tuum Bootstrap destinandum, involucris vasis, systematis eget validum, obiectum instrumentorum flexibilium, et genera utilitatum responsiva.

Continentes

Continentes in Bootstrap principales sunt layout elementi et requiruntur cum usura systematis nostri default gridis . Elige e receptaculo responsivo, fixum-latitudine (significat max-widthmutationes suas ad singulas fracturas) vel fluidum latitudinem (significatio 100%lata omni tempore).

Dum continentia nidificari potest , plurimae tabulae receptaculum nidum non requirunt.

<div class="container">
  <!-- Content here -->
</div>

Utere .container-fluidlatitudine plena continente, totam latitudinem prospectus enucleando.

<div class="container-fluid">
  ...
</div>

Responsivum breakpoints

Cum Bootstrap primum mobilis evolvatur, nonnullis instrumentorum instrumentorum quaestionibus utimur ad puncta sensibilia creandas pro intentionibus et instrumentis nostris. Illae puncta plerumque fundantur in latitudines minimas prospectus et elementa conscendere sinunt sicut mutationes prospectus.

Bootstrap principaliter utitur his instrumentis interrogationis iugis vel ruptionibus-in nostris fontibus Sass files pro nostro extensione, systemate eget ac componentibus.

// Extra small devices (portrait phones, less than 576px)
// No media query since this is the default in Bootstrap

// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

// Large devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

Cum fontem nostrum CSS in Sass scribimus, omnia instrumenta nostra media quaesita per Sass mixins praesto sunt:

@include media-breakpoint-up(xs) { ... }
@include media-breakpoint-up(sm) { ... }
@include media-breakpoint-up(md) { ... }
@include media-breakpoint-up(lg) { ... }
@include media-breakpoint-up(xl) { ... }

// Example usage:
@include media-breakpoint-up(sm) {
  .some-class {
    display: block;
  }
}

Nonnumquam instrumentis quaestionibus utimur quae in alteram partem vadunt (vel amplitudo vel minor data );

// Extra small devices (portrait phones, less than 576px)
@media (max-width: 575.98px) { ... }

// Small devices (landscape phones, less than 768px)
@media (max-width: 767.98px) { ... }

// Medium devices (tablets, less than 992px)
@media (max-width: 991.98px) { ... }

// Large devices (desktops, less than 1200px)
@media (max-width: 1199.98px) { ... }

// Extra large devices (large desktops)
// No media query since the extra-large breakpoint has no upper bound on its width

Nota quod, cum navigatores in contextu quaestionis amplis non sustinent , circa limitationes min-et max-praefixiones et prospectus fractis latitudinibus laboramus (quod sub quibusdam condicionibus altis machinis, exempli gratia, potest accidere) utendo valores altioribus ad has comparationes accuratissime. .

Iterum, haec instrumenta communicationis socialis per Sass mixins praesto sunt:

@include media-breakpoint-down(xs) { ... }
@include media-breakpoint-down(sm) { ... }
@include media-breakpoint-down(md) { ... }
@include media-breakpoint-down(lg) { ... }

Sunt etiam media quaesita et mixina in quibus unum segmentum magnitudinum screen utentes minimam et maximam latitudinem rupturae.

// Extra small devices (portrait phones, less than 576px)
@media (max-width: 575.98px) { ... }

// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) and (max-width: 767.98px) { ... }

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) and (max-width: 991.98px) { ... }

// Large devices (desktops, 992px and up)
@media (min-width: 992px) and (max-width: 1199.98px) { ... }

// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

Haec instrumenta communicationis socialis per Sass mixins praesto sunt:

@include media-breakpoint-only(xs) { ... }
@include media-breakpoint-only(sm) { ... }
@include media-breakpoint-only(md) { ... }
@include media-breakpoint-only(lg) { ... }
@include media-breakpoint-only(xl) { ... }

Similiter in instrumentis quaestionibus multiplex inversae ruptionis inversae spatiari possunt;

// Example
// Apply styles starting from medium devices and up to extra large devices
@media (min-width: 768px) and (max-width: 1199.98px) { ... }

The Sass mixin for targeting the same screen size range would be:

@include media-breakpoint-between(md, xl) { ... }

Z-index

Plures partes Bootstrap utantur z-index, res CSS quae imperium adiuvat extensionem praebens tertiam axem ad contentum disponendum. Defaltam z-index adhibemus in Bootstrap quod destinatum est ad recte navigationem, instrumenta et popovers, modalia et plura.

Hae superiores valores ab arbitrario numero incipiunt, magni et specifici satis ad certamina idealia vitanda. Vexillum opus est harum partium trans stratis - instrumentis, popovers, navbaribus, stillicidiis, modalibus, ut rationabiliter in moribus congruere possimus. Nulla ratione 100+ vel 500+ usos esse non potuimus.

Non hortamur customizationem horum singulorum bonorum; si unum mutes, omnes mutare debes.

$zindex-dropdown:          1000 !default;
$zindex-sticky:            1020 !default;
$zindex-fixed:             1030 !default;
$zindex-modal-backdrop:    1040 !default;
$zindex-modal:             1050 !default;
$zindex-popover:           1060 !default;
$zindex-tooltip:           1070 !default;

z-indexAd fines imbricatis intra componentes tractamus (exempli gratia globuli et inputs in coetibus inputationibus), valores unius digiti humiliores utimur 1, 2, et 3pro defalta, tabernus et activae civitates. In aliquet / umbilico / activo, elementum particulare ad frontem adducimus meliori z-indexvalore ad ostendendum terminum suum super elementa fraterna.