Monday 23 August 2021

Bootstrap .container Class

Bootstrap requires a containing element to wrap site contents. In bootstrap, there are two container classes .container and .container-fluidBootstrap .container class provides a responsive fixed width container. Use the .container class to create a responsive, fixed-width container. 

bootstrap container size chart

.container class Example

<!DOCTYPE html>
<html lang="en">
    <title>Bootstrap .container class</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="">
    <script src=""></script>
    <script src=""></script>
    <script src=""></script>

    <div class="container bg-primary text-white p-4 mt-4">
        <h1>Bootstrap .container class</h1>
        <p>This content is inside a .container class.</p>
        <p>The .container class provides a responsive fixed width container.</p>

Bootstrap .container Class

1 comment:

  1. Pick a playing web site that offers no-hassle, downloadable apps and instant-play video games. ECOGRA is an international testing 점보카지노 agency that accredits and regulates the world of on-line playing. It checks to see whether or not on-line casinos are honest, honest and protected.


Please do not enter any spam link in the message box.