Bootstrap CSS Classes

Bootstrap CSS class .d-flex align-self-end

<div class="media">
  <img class="d-flex align-self-end mr-3" src="/placeholder/pictures/image.svg" alt="Placeholder image">
  <div class="media-body">
    <h5 class="mt-0">Bottom-aligned media</h5>
    <p>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.</p>
    <p class="mb-0">Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>
  </div>
</div>

Preview

Are you tired of writing HTML by hand?

More Bootstrap CSS classes in Media Objects category

© 2024 Shuffle. All rights reserved.