Image and Video Classes in Bootstrap CSS tutorial

 <!DOCTYPE html>

<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Image and Video Classes Bootstrap CSS</title>
    <link rel="stylesheet" href="css/bootstrap.css">
    <link rel="stylesheet" href="css/Image_Video_Classes_Bootstrap_CSS.css">
</head>

<body>
    <!--How to make Website Layout with Bootstrap ?-->
    <!--3 Bootstrap CSS Classes : Container, Row, Col-->
    <!--When use "Col" Class ? Answer: For Equal Width Div Tag-->
    <!--Total width of Grid in Every row is 12-->
    <!--Col Class for different Break Points-->
    <!--Extra Large:col-lg, Large:col-lg, Medium:col-md, Small:col-sm, Extra Small-->
    <!--Total width of Column Grid must be maximum 12 in one Row-->
    <div class="container mb-5">
        <h2 class="py-3 text-center">Bootstrap Image and Video Classes</h2>
        <div class="row py-3">
            <div class="col-md-4">
                <img src="images/testimonial-bg.jpg" class="img-fluid rounded-circle" alt="">
            </div>
            <div class="col-md-4">
                <img src="images/testimonial-bg.jpg" class="img-fluid img-thumbnail" alt="">
            </div>
            <div class="col-md-4">
                <img src="images/testimonial-bg.jpg" class="img-fluid rounded-pill" alt="">
            </div>
            <div class="col-md-4">
                <img src="images/testimonial-bg.jpg" class="figure-img img-fluid" alt="">
                <figcaption class="figure-caption text-end">Some text goes here</figcaption>
            </div>
        </div>
        <div class="row">
            <div class="col-md-4">
                <div class="embed-responsive embed-responsive-16by9">
                    <iframe class="embed-responsive-item"
                        src="https://www.youtube.com/embed/xO3tXwjIZFE?si=zafhWbJ-NDGsEe65" frameborder="0"></iframe>
                </div>
            </div>
            <div class="col-md-4">
                <div class="embed-responsive embed-responsive-21by9">
                    <iframe class="embed-responsive-item"
                        src="https://www.youtube.com/embed/xO3tXwjIZFE?si=zafhWbJ-NDGsEe65" frameborder="0"></iframe>
                </div>
            </div>
            <div class="col-md-4">
                <div class="embed-responsive embed-responsive-4by3">
                    <iframe class="embed-responsive-item"
                        src="https://www.youtube.com/embed/xO3tXwjIZFE?si=zafhWbJ-NDGsEe65" frameborder="0"></iframe>
                </div>
            </div>
            <div class="col-md-4">
                <div class="embed-responsive embed-responsive-1by1">
                    <iframe class="embed-responsive-item"
                        src="https://www.youtube.com/embed/xO3tXwjIZFE?si=zafhWbJ-NDGsEe65" frameborder="0"></iframe>
                </div>
            </div>
        </div>
    </div>
</body>

</html>



Below File is css/Image_Video_Classes_Bootstrap_CSS.css File
.container {
    border: 5px solid #000000;
}



Comments

Popular posts from this blog

Badge Classes in Bootstrap CSS tutorial

Modal Plugin tutorial in Bootstrap CSS

Progress Bar Classes in Bootstrap CSS tutorial