Skip to main content

Teaser Card

Default Teaser Card

<div class="teaser teaser--card">
<div class="teaser__media">
<div class="relative">
<div class="channel channel--boxed teaser__channel">
Category
</div>
<div class="image teaser__image">
<a href="#">
<img src="thumb.jpg">
</a>
</div>
</div>
</div>
<div class="teaser__content">
<h2 class="teaser__headline">
<a href="#">Title</a>
</h2>
<div class="teaser__authored">
July 5, 2018, by Author
</div>
<div class="teaser__body">
Lorem ipsum dolor sit amet, consectetur adipiscing elit...
</div>
<div class="teaser__link">
<a href="#">Read more</a>
</div>
</div>
</div>

Large Teaser Card

<div class="teaser teaser--card--large">
<div class="teaser__media">
<div class="image teaser__image">
<a href="#">
<img src="thumb.jpg">
</a>
</div>
</div>
<div class="teaser__content text-md-center">
<div class="channel channel--boxed teaser__channel">
Category
</div>
<h2 class="teaser__headline">
<a href="#">Title</a>
</h2>
<div class="teaser__authored">
July 5, 2018, by Author
</div>
<div class="teaser__body">
Lorem ipsum dolor sit amet, consectetur adipiscing elit...
</div>
<div class="button teaser__link">
<a href="#">Read more</a>
</div>
</div>
</div>

Small Teaser Card

<div class="teaser teaser--card--small">
<div class="teaser__media">
<div class="relative">
<div class="channel channel--boxed teaser__channel">
Category
</div>
<div class="image teaser__image">
<a href="#">
<img src="thumb.jpg">
</a>
</div>
</div>
</div>
<div class="teaser__content text-md-center">
<h2 class="teaser__headline">
<a href="#">Title</a>
</h2>
<div class="teaser__authored">
July 5, 2018, by Author
</div>
</div>
</div>

Element Class

Class NameDescription
teaser--cardDefines teaser card
teaser--card--largeDefines large teaser card
teaser--small--largeDefines small teaser card

Modifier Class

Class NameDescription
teaser--borderedCreates bordered teaser card
is--highlightedHighlights the teaser card