Body Color:
Menu Color:
Main Color:
Banner Background:
  • background1
  • background2
  • background3
  • background4
  • background5
  • background6
  • background7
  • background8
  • background9
  |  Register
You are here : Features  >  Typography  >  Media objects
Tuesday , November , 12 2024

Media object

Abstract object styles for building various types of components (like blog comments, Tweets, etc) that feature a left- or right-aligned image alongside textual content.

Default example

The default media allow to float a media object (images, video, audio) to the left or right of a content block.

Media heading

Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
  1. <div class="media">
  2. <a class="pull-left" href="#">
  3. <img class="media-object" src="/portals/4/260x180.png" width="200">
  4. </a>
  5. <div class="media-body">
  6. <h4 class="media-heading">Media heading</h4>
  7. ...
  8. </div>
  9. </div>

Media heading

Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
  1. <div class="media">
  2. <a class="pull-right" href="#">
  3. <img class="media-object" src="/portals/4/260x180.png" width="200">
  4. </a>
  5. <div class="media-body">
  6. <h4 class="media-heading">Media heading</h4>
  7. ...
  8. </div>
  9. </div>

Media list

With a bit of extra markup, you can use media inside list (useful for comment threads or articles lists).

  • Media heading

    Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.

    Nested media heading

    Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.

    Nested media heading

    Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.

    Nested media heading

    Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
  • Media heading

    Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
  1. <ul class="media-list">
  2. <li class="media">
  3. <a class="pull-left" href="#">
  4. <img class="media-object" src="/portals/4/260x180.png" width="100">
  5. </a>
  6. <div class="media-body">
  7. <h4 class="media-heading">Media heading</h4>
  8. ...
  9.  
  10. <div class="media">
  11. ...
  12. </div>
  13. </div>
  14. </li>
  15. </ul>
Top