bootstrap div code example

Example 1: col offset in bootstrap

.col-md-3 .offset-md-3

Example 2: bootstrap breakpoints

// 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) { ... }

Example 3: bootstrap grid

One of three columns
One of three columns
One of three columns

Example 4: bootstrap screen sizes

The Bootstrap grid system has four classes:
xs (for phones - screens less than 768px wide)
sm (for tablets - screens equal to or greater than 768px wide)
md (for small laptops - screens equal to or greater than 992px wide)
lg (for laptops and desktops - screens equal to or greater than 1200px wide)

Example 5: how will it look when there is a container inside a a row bootstrap

One of three columns
One of three columns
One of three columns

Tags:

Misc Example