View on GitHub
Media list stream
On this page
Examples
-
34 min
Mark Otto
Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. Donec id elit non mi porta gravida at eget metus. Vivamus sagittis lacus vel augue laoreet rutrum.
-
Dave Gamache: Donec id elit non mi porta gravida at eget metus. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Donec ullamcorper nulla non metus auctor fringilla. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Sed posuere consectetur est at lobortis.
-
Jacob Thornton: Donec id elit non mi porta gravida at eget metus. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Donec ullamcorper nulla non metus auctor fringilla. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Sed posuere consectetur est at lobortis.
-
<ul class="media-list media-list-stream">
<li class="media list-group-item p-4">
<img class="media-object me-3 align-self-start" src="/docs/assets/img/examples/avatar-mdo.png" alt="Mark Otto avatar">
<div class="media-body">
<div class="media-heading">
<small class="float-right text-muted">34 min</small>
<h6>Mark Otto</h6>
</div>
<p>
Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. Donec id elit non mi porta gravida at eget metus. Vivamus sagittis lacus vel augue laoreet rutrum.
</p>
<img class="media-body-inline-img" src="/docs/assets/img/examples/instagram-17.jpg" alt="Instagram">
<ul class="media-list">
<li class="media">
<img class="media-object me-3 align-self-start" src="/docs/assets/img/examples/avatar-dhg.png" alt="Dave Gamache avatar">
<div class="media-body">
<strong>Dave Gamache: </strong>
Donec id elit non mi porta gravida at eget metus. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Donec ullamcorper nulla non metus auctor fringilla. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Sed posuere consectetur est at lobortis.
</div>
</li>
<li class="media mt-3">
<img class="media-object me-3 align-self-start" src="/docs/assets/img/examples/avatar-fat.jpg" alt="Jacob Thornton avatar">
<div class="media-body">
<strong>Jacob Thornton: </strong>
Donec id elit non mi porta gravida at eget metus. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Donec ullamcorper nulla non metus auctor fringilla. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Sed posuere consectetur est at lobortis.
</div>
</li>
</ul>
</div>
</li>
</ul>
CSS
Sass variables
$media-list-stream-text-muted-font-wegiht: $font-weight-bold;
$media-list-stream-heading-margin-top: $spacer * .3;
$media-list-stream-body-inline-top: $spacer * 1.3;
$media-list-stream-body-inline-bottom: $spacer * 1.6;
$media-list-stream-body-actions-margin-top: $spacer * .3;
$media-list-stream-object-width: $spacer * 3.8;
$media-list-stream-object-width-sm: $media-list-stream-object-width * .7;
$media-list-stream-object-margin-right: $spacer * .3;
$media-list-stream-list-object-width: $media-list-stream-object-width * .9;