Align media objects with Bootstrap

BootstrapWeb DevelopmentCSS Framework

To align media objects, use the .align class in Bootstrap. You can try to run the following code to implement the .align class.

Use the .align-left class to align media to the left −


Live Demo

<!DOCTYPE html>
      <title>Bootstrap Example</title>
      <link rel = "stylesheet" href = "">
      <script src = ""></script>
      <script src = ""></script>
      <div class = "container">
         <h2>Google Tag Manager Tutorial</h2>
         <div class = "media">
            <div class = "media-left">
               <img src = "" class="media-object" style="width:60px">
            <div class = "media-body">
               <h4 class = "media-heading">Introduction</h4>
               <p>Google Tag Manager (GTM) is a free tool that makes it easy for marketers to add and update website tags.</p>
Published on 22-Jun-2018 09:25:59